1; SPIR-V 2; Version: 1.0 3; Generator: Google spiregg; 0 4; Bound: 29 5; Schema: 0 6 OpCapability Shader 7 OpMemoryModel Logical GLSL450 8 OpEntryPoint Fragment %main "main" %in_var_TEXCOORD0 %out_var_SV_Target0 9 OpExecutionMode %main OriginUpperLeft 10 OpSource HLSL 600 11 OpName %type_2d_image "type.2d.image" 12 OpName %Tex "Tex" 13 OpName %in_var_TEXCOORD0 "in.var.TEXCOORD0" 14 OpName %out_var_SV_Target0 "out.var.SV_Target0" 15 OpName %main "main" 16 OpDecorate %in_var_TEXCOORD0 Flat 17 OpDecorate %in_var_TEXCOORD0 Location 0 18 OpDecorate %out_var_SV_Target0 Location 0 19 OpDecorate %Tex DescriptorSet 0 20 OpDecorate %Tex Binding 0 21 %int = OpTypeInt 32 1 22 %int_2 = OpConstant %int 2 23 %float = OpTypeFloat 32 24%type_2d_image = OpTypeImage %float 2D 2 0 0 1 Unknown 25%_ptr_UniformConstant_type_2d_image = OpTypePointer UniformConstant %type_2d_image 26 %uint = OpTypeInt 32 0 27 %v3uint = OpTypeVector %uint 3 28%_ptr_Input_v3uint = OpTypePointer Input %v3uint 29 %v4float = OpTypeVector %float 4 30%_ptr_Output_v4float = OpTypePointer Output %v4float 31 %void = OpTypeVoid 32 %16 = OpTypeFunction %void 33 %Tex = OpVariable %_ptr_UniformConstant_type_2d_image UniformConstant 34%in_var_TEXCOORD0 = OpVariable %_ptr_Input_v3uint Input 35%out_var_SV_Target0 = OpVariable %_ptr_Output_v4float Output 36 %main = OpFunction %void None %16 37 %19 = OpLabel 38 %20 = OpLoad %v3uint %in_var_TEXCOORD0 39 %21 = OpCompositeExtract %uint %20 2 40 %27 = OpLoad %type_2d_image %Tex 41 %28 = OpImageFetch %v4float %27 %20 Lod %21 42 OpStore %out_var_SV_Target0 %28 43 OpReturn 44 OpFunctionEnd 45