Add ray query capability if acceleration structure or ray query types declared (#2469)
* Add ray query capability if acceleration structure used Fixes #2430 in non-ray tracing stages and the extension is enabled * Add ray query capability if ray query declared * Fix printing of TypeRayQueryKHR It's no longer spelled with "Provisional"
This commit is contained in:
14
Test/spv.ext.RayQueryDecl.frag
Normal file
14
Test/spv.ext.RayQueryDecl.frag
Normal file
@@ -0,0 +1,14 @@
|
||||
#version 460
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_EXT_nonuniform_qualifier : enable
|
||||
#extension GL_GOOGLE_include_directive : enable
|
||||
#extension GL_EXT_scalar_block_layout : enable
|
||||
#extension GL_EXT_ray_query : enable
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
rayQueryEXT rq;
|
||||
|
||||
void main() {
|
||||
outColor = vec4(0.0);
|
||||
}
|
||||
Reference in New Issue
Block a user