Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git] / Test / spv.AnyHitShader_Errors.rahit
blob952461eec9a011db0093a32f06daf2fe8dbc18c3
1 #version 460
2 #extension GL_NV_ray_tracing : enable
3 hitAttributeNV vec4 payload;                               
4 layout(binding = 0, set = 0) uniform accelerationStructureNV accNV;
6 void main()
8     payload.x = 1.0f;                                       // ERROR, cannot write to hitattributeNV in stage
9     reportIntersectionNV(1.0, 1U);                          // ERROR, unsupported builtin in stage
10     traceNV(accNV, 0, 0, 1, 1, 0, vec3(0.0f), 0.5f, vec3(1.0f), 0.75f, 0); // ERROR, unsupported builtin in stage