Commit graph

13 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
Sascha Willems
40c5e64faf Updated comments
Refs #622
2019-11-09 10:35:49 +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
a12af1718a Code cleanup 2019-04-22 18:42:41 +02:00
Sascha Willems
f04b7217bb Code cleanup (variable shadowing) 2019-04-21 18:13:22 +02:00
Sascha Willems
85a13ec645 Color triangle using barycentric coordinates 2019-04-21 15:39:28 +02:00
Sascha Willems
8bb1b8de21 Resource cleanup, code cleanup 2019-04-21 10:00:31 +02:00
Sascha Willems
b8b3fac9b4 Added basic VK_NV_ray_tracing example (wip) 2019-04-20 17:54:17 +02:00