#version 460
#extension GL_EXT_ray_tracing : require
#extension GL_EXT_nonuniform_qualifier : require

struct _7
{
    vec3 _m0;
};

struct _11
{
    vec2 _m0;
};

vec3 _18;

layout(location = 0) rayPayloadInEXT _7 payload;
hitAttributeEXT _11 hit;

void main()
{
    vec3 _17;
    _17.x = gl_RayTmaxEXT;
    _17.y = gl_RayTmaxEXT;
    _17.z = gl_RayTmaxEXT;
    payload._m0 = _17;
}


#if 0
// SPIR-V disassembly
; SPIR-V
; Version: 1.4
; Generator: Unknown(30017); 21022
; Bound: 27
; Schema: 0
OpCapability Shader
OpCapability UniformBufferArrayDynamicIndexing
OpCapability SampledImageArrayDynamicIndexing
OpCapability StorageBufferArrayDynamicIndexing
OpCapability StorageImageArrayDynamicIndexing
OpCapability RayTracingKHR
OpCapability RuntimeDescriptorArray
OpCapability UniformBufferArrayNonUniformIndexing
OpCapability SampledImageArrayNonUniformIndexing
OpCapability StorageBufferArrayNonUniformIndexing
OpCapability StorageImageArrayNonUniformIndexing
OpExtension "SPV_EXT_descriptor_indexing"
OpExtension "SPV_KHR_ray_tracing"
OpMemoryModel Logical GLSL450
OpEntryPoint AnyHitKHR %3 "main" %9 %13 %15
OpName %3 "main"
OpName %7 ""
OpName %9 "payload"
OpName %11 ""
OpName %13 "hit"
OpDecorate %15 BuiltIn RayTmaxKHR
%1 = OpTypeVoid
%2 = OpTypeFunction %1
%5 = OpTypeFloat 32
%6 = OpTypeVector %5 3
%7 = OpTypeStruct %6
%8 = OpTypePointer IncomingRayPayloadKHR %7
%9 = OpVariable %8 IncomingRayPayloadKHR
%10 = OpTypeVector %5 2
%11 = OpTypeStruct %10
%12 = OpTypePointer HitAttributeKHR %11
%13 = OpVariable %12 HitAttributeKHR
%14 = OpTypePointer Input %5
%15 = OpVariable %14 Input
%21 = OpTypePointer IncomingRayPayloadKHR %6
%23 = OpTypeInt 32 0
%24 = OpConstant %23 0
%3 = OpFunction %1 None %2
%4 = OpLabel
%18 = OpUndef %6
OpBranch %25
%25 = OpLabel
%16 = OpLoad %5 %15
%17 = OpCompositeInsert %6 %16 %18 0
%19 = OpCompositeInsert %6 %16 %17 1
%20 = OpCompositeInsert %6 %16 %19 2
%22 = OpInBoundsAccessChain %21 %9 %24
OpStore %22 %20
OpReturn
OpFunctionEnd
#endif
