1#version 460 2#extension GL_EXT_ray_tracing : enable 3hitAttributeEXT vec4 iAttr; 4void main() 5{ 6 uvec3 v0 = gl_LaunchIDEXT; 7 uvec3 v1 = gl_LaunchSizeEXT; 8 int v2 = gl_PrimitiveID; 9 int v3 = gl_InstanceID; 10 int v4 = gl_InstanceCustomIndexEXT; 11 vec3 v5 = gl_WorldRayOriginEXT; 12 vec3 v6 = gl_WorldRayDirectionEXT; 13 vec3 v7 = gl_ObjectRayOriginEXT; 14 vec3 v8 = gl_ObjectRayDirectionEXT; 15 float v9 = gl_RayTminEXT; 16 float v10 = gl_RayTmaxEXT; 17 mat4x3 v11 = gl_ObjectToWorldEXT; 18 mat4x3 v12 = gl_WorldToObjectEXT; 19 mat3x4 v13 = gl_ObjectToWorld3x4EXT; 20 mat3x4 v14 = gl_WorldToObject3x4EXT; 21 iAttr = vec4(0.5f,0.5f,0.0f,1.0f); 22 reportIntersectionEXT(0.5, 1U); 23} 24