Commit graph

9 commits

Author SHA1 Message Date
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
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