glslang/Test/spv.ext.AccelDecl.frag
Daniel Koch 4d41da3b81
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"
2020-11-24 21:06:16 -07:00

15 lines
401 B
GLSL

#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;
layout(binding = 1, set = 0) uniform accelerationStructureEXT topLevelAS;
void main() {
outColor = vec4(0.0);
}