Commit graph

15 commits

Author SHA1 Message Date
Sascha Willems
72e8083b7c Removed unnecessary component swizzle assignments
Fixes #160
2022-12-31 12:31:27 +01:00
Stephen Saunders
f103389d03 Align UBO sizes between code and shaders for computeraytracing, ssao, & texturearray examples 2022-08-08 13:46:30 -04:00
Stephen Saunders
10fb7f99bb MoltenVK-specific config for computeraytracing and specializationconstants examples 2022-08-05 14:54:25 -04:00
Stephen Saunders
c89d4eb776 Code Review: a) revert TinyGLTF #defines, b) call vkDeviceWaitIdle() in macOS/iOS termination handlers, c) remove OpenMP target_compile_options() in CMakeLists 2022-07-27 01:21:20 -04:00
Stephen Saunders
b2f501dc98 Fix queue family transfer operations between graphics <-> compute queues, generalize getQueueFamilyIndex() to support VkQueueFlags vs. VkQueueFlagBits, computecloth deltaT now based on frameTimer 2022-07-07 09:57:01 -04:00
Sascha Willems
485f93441e
Merge pull request #862 from ShoufengYang/patch-2
Fixed the first frame render error.
2021-11-10 19:20:15 +01:00
Sascha Willems
3b1ff1eece Ray tracing samples can now also use the UI overlay
General cleanup, changed default settings.overlay value
2021-08-28 12:59:10 +02:00
ShoufengYang
f4197f93b4
Fixed the first frame render error.
The compute commands should be submit before the graphic command. If not, there is a logical error that cause the first frame render error.  Since the graphic rendering need to sample the compute shader 's output image.
2021-08-03 23:22:48 +08:00
Sascha Willems
a465bad5aa Cleaned up includes
Fixed typos
2020-08-09 13:16:35 +02:00
Sascha Willems
361535b29e Split texture class into header and implementation
Moved include to base class
2020-08-08 22:54:34 +02:00
Sascha Willems
3abe588157 Fixed typos 2020-08-08 13:59:58 +02:00
Ben Clayton
ca884587a4 Move shaders into glsl and hlsl directories
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`

Fix up shader paths in the cpp files to point to the new glsl location.

`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).

Issue: #723
2020-06-01 12:22:28 +01:00
Sascha Willems
53846d8b1d Code cleanup 2020-04-20 22:13:51 +02:00
Sascha Willems
458c149c71 Code cleanup 2020-04-20 20:29:15 +02:00
Sascha Willems
b2add91d2c Renamed compute shader ray tracing example 2019-05-11 12:41:46 +02:00
Renamed from examples/raytracing/raytracing.cpp (Browse further)