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 :)
This commit is contained in:
parent
2a5d7df56e
commit
6ead6171a7
3 changed files with 8 additions and 5 deletions
|
|
@ -374,6 +374,7 @@ public:
|
|||
/*
|
||||
Build top-level acceleration structure
|
||||
*/
|
||||
buildInfo.type = VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV;
|
||||
buildInfo.pGeometries = 0;
|
||||
buildInfo.geometryCount = 0;
|
||||
buildInfo.instanceCount = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue