Commit graph

9 commits

Author SHA1 Message Date
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
cb50a95547
Merge pull request #626 from VZout/master
Cleaned up the createShaderBindingTable for the raytracing examples
2020-04-23 07:45:26 +02:00
Sascha Willems
f544895708 Use proper type for scratch buffer memory requirements
Explicitly set type for top and botom level AS memory requirements
Fixes #622
2019-11-09 10:47:31 +01:00
VZout
a74849668b Removed unnessessary increment to the shader binding table data 2019-11-01 16:13:23 +01:00
VZout
cd2ec54f7f Cleaned up the createShaderBindingTable for the raytracing examples 2019-11-01 16:01:48 +01:00
Jason Macnak
6ead6171a7 Fix a couple of small errors in ray tracing examples
nv_ray_tracing_basic.cpp
 - update to 3 component vertex data (4 component isn't supported)
 - update type to TOP_LEVEL when building the TLAS

nv_ray_tracing_reflections.cpp
 - update AS info type to TOP_LEVEL when building the TLAS

nv_ray_tracing_shadows.cpp
 - update AS info type to TOP_LEVEL when building the TLAS

Validation layer changes coming soon :)
2019-07-26 16:31:19 -07:00
Sascha Willems
e140095002 Pass VK_NULL_HANDLE instead of nullptr for pipeline cache 2019-04-26 17:45:38 +02:00
Sascha Willems
5011d7afae Storage usage flags for scene 2019-04-23 08:16:35 +02:00
Sascha Willems
a1b21f6990 Added VK_NV_ray_tracing shadow casting example 2019-04-22 18:49:38 +02:00