yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
0e43b162
main
1#version 460 2#extension GL_EXT_ray_query : enable 3#extension GL_EXT_opacity_micromap_ray_query_mode : enable 4 5// The extension is enabled but gl_EnableOpacityMicromapEXT is not redeclared. The OpacityMicromapIdKHR 6// execution mode is still emitted (enabling the extension is the declaration), referencing the default 7// value as OpConstantFalse. 8layout(set = 0, binding = 0) uniform accelerationStructureEXT topLevelAS; 9 10void main() 11{ 12 rayQueryEXT rq; 13 rayQueryInitializeEXT(rq, topLevelAS, gl_RayFlagsNoneEXT, 0xFFu, 14 vec3(0.0), 0.1, vec3(0.0, 0.0, 1.0), 100.0); 15 rayQueryProceedEXT(rq); 16}