; SPIR-V ; Version: 1.0 ; Generator: Google Shaderc over Glslang; 10 ; Bound: 38 ; Schema: 0 OpCapability Shader OpCapability RuntimeDescriptorArray OpExtension "SPV_EXT_descriptor_indexing" %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %main "main" %o_color %i_tex_coord OpExecutionMode %main OriginUpperLeft OpSource GLSL 440 OpSourceExtension "GL_GOOGLE_cpp_style_line_directive" OpSourceExtension "GL_GOOGLE_include_directive" OpName %main "main" OpName %o_color "o_color" OpName %u_comb "u_comb" OpName %i_tex_coord "i_tex_coord" OpDecorate %o_color Location 0 OpDecorate %28 DescriptorSet 0 OpDecorate %28 Binding 1 OpDecorate %u_comb DescriptorSet 0 OpDecorate %u_comb Binding 0 OpDecorate %i_tex_coord Location 0 %void = OpTypeVoid %20 = OpTypeSampler %_ptr_UniformConstant_20 = OpTypePointer UniformConstant %20 %_runtimearr_20 = OpTypeRuntimeArray %20 %_ptr_UniformConstant__runtimearr_20 = OpTypePointer UniformConstant %_runtimearr_20 %int = OpTypeInt 32 1 %int_2 = OpConstant %int 2 %3 = OpTypeFunction %void %float = OpTypeFloat 32 %v4float = OpTypeVector %float 4 %_ptr_Output_v4float = OpTypePointer Output %v4float %o_color = OpVariable %_ptr_Output_v4float Output %10 = OpTypeImage %float 2D 0 0 0 1 Unknown %11 = OpTypeSampledImage %10 %_runtimearr_10 = OpTypeRuntimeArray %10 %_ptr_UniformConstant_10 = OpTypePointer UniformConstant %10 %_ptr_UniformConstant__runtimearr_10 = OpTypePointer UniformConstant %_runtimearr_10 %u_comb = OpVariable %_ptr_UniformConstant__runtimearr_10 UniformConstant %28 = OpVariable %_ptr_UniformConstant__runtimearr_20 UniformConstant %v3float = OpTypeVector %float 3 %_ptr_Input_v3float = OpTypePointer Input %v3float %i_tex_coord = OpVariable %_ptr_Input_v3float Input %main = OpFunction %void None %3 %5 = OpLabel %18 = OpLoad %v3float %i_tex_coord %29 = OpVectorExtractDynamic %float %18 %int_2 %30 = OpConvertFToS %int %29 %31 = OpAccessChain %_ptr_UniformConstant_10 %u_comb %30 %32 = OpLoad %10 %31 %33 = OpVectorExtractDynamic %float %18 %int_2 %34 = OpConvertFToS %int %33 %35 = OpAccessChain %_ptr_UniformConstant_20 %28 %34 %36 = OpLoad %20 %35 %37 = OpSampledImage %11 %32 %36 %19 = OpImageSampleImplicitLod %v4float %37 %18 OpStore %o_color %19 OpReturn OpFunctionEnd