1#version 460 2#extension GL_EXT_ray_tracing : enable 3hitAttributeEXT vec4 payload; // ERROR, hitattributeEXT unsupported in this stage 4rayPayloadInEXT vec4 payloadIn; // ERROR, rayPayloadIn unsupported in this stage 5layout(shaderRecordEXT) uniform ublock // ERROR, shaderRecordEXT unsupported on uniform blocks 6{ 7 float a; 8}; 9layout(binding = 0, shaderRecordEXT) buffer bblock { // ERROR, binding unsupported on shaderRecordEXT blocks 10 float b; 11}; 12layout(set = 0, shaderRecordEXT) buffer bblock2 { // ERROR, set unsupported on shaderRecordEXT blocks 13 float c; 14}; 15layout(shaderRecordEXT) buffer bblock3 { 16 float d; 17}; 18layout(shaderRecordEXT) buffer bblock4 { // ERROR, cannot have more than one shaderRecordEXTX block 19 float e; 20}; 21void main() 22{ 23 accelerationStructureEXT a = accelerationStructureEXT(c); 24 int e0 = gl_PrimitiveID; // ERROR, unsupported builtin in stage 25 int e1 = gl_InstanceID; // ERROR, unsupported builtin in stage 26 int e3 = gl_InstanceCustomIndexEXT; // ERROR, unsupported builtin in stage 27 vec3 e4 = gl_WorldRayOriginEXT; // ERROR, unsupported builtin in stage 28 vec3 e5 = gl_WorldRayDirectionEXT; // ERROR, unsupported builtin in stage 29 vec3 e6 = gl_ObjectRayOriginEXT; // ERROR, unsupported builtin in stage 30 vec3 e7 = gl_ObjectRayDirectionEXT; // ERROR, unsupported builtin in stage 31 float e8 = gl_RayTminEXT; // ERROR, unsupported builtin in stage 32 float e9 = gl_RayTmaxEXT; // ERROR, unsupported builtin in stage 33 mat4x3 e10 = gl_ObjectToWorldEXT; // ERROR, unsupported builtin in stage 34 mat4x3 e11 = gl_WorldToObjectEXT; // ERROR, unsupported builtin in stage 35 float e12 = gl_HitTEXT; // ERROR, unsupported builtin in stage 36 float e13 = gl_HitKindEXT; // ERROR, unsupported builtin in stage 37 int e14 = gl_RayFlagsSkipAABBEXT; // ERROR, unsupported builtin in stage 38 reportIntersectionEXT(1.0, 1U); // ERROR, unsupported builtin in stage 39 ignoreIntersectionEXT; // ERROR, unsupported builtin in stage 40 terminateRayEXT; // ERROR, unsupported builtin in stage 41 d = 1.0f; // ERROR, can't modify shaderRecordEXT block 42} 43