Add type checks for hitObjectNV (#3689)
`VK_NV_ray_tracing_invocation_reorder` extension introduces `hitObjectNV`, a special opaque type
that can only be declared without storage qualifiers in either global or function scope.
Added checks/tests to enforce this constraint.
References:
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_NV_ray_tracing_invocation_reorder.html
3e0d9a3b3f/extensions/nv/GLSL_NV_shader_invocation_reorder.txt (L180)
Co-authored-by: Tianyun <tianyuny@nvidia.com>
This commit is contained in:
parent
5398d55e33
commit
7c4d91e781
5 changed files with 48 additions and 0 deletions
|
|
@ -710,6 +710,7 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
|
||||
// SPV_NV_shader_execution_reorder
|
||||
|
||||
"spv.nv.hitobject-errors.rgen",
|
||||
"spv.nv.hitobject-allops.rgen",
|
||||
"spv.nv.hitobject-allops.rchit",
|
||||
"spv.nv.hitobject-allops.rmiss",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue