; SPIR-V ; Version: 1.3 ; Generator: Google Tint Compiler; 0 ; Bound: 88 ; Schema: 0 OpCapability Shader OpMemoryModel Logical GLSL450 OpEntryPoint Vertex %vertex_main "vertex_main" %value %vertex_point_size OpEntryPoint Fragment %fragment_main "fragment_main" OpEntryPoint GLCompute %compute_main "compute_main" OpExecutionMode %fragment_main OriginUpperLeft OpExecutionMode %compute_main LocalSize 1 1 1 OpName %value "value" OpName %vertex_point_size "vertex_point_size" OpName %ext_tex_plane_1 "ext_tex_plane_1" OpName %ExternalTextureParams "ExternalTextureParams" OpMemberName %ExternalTextureParams 0 "numPlanes" OpMemberName %ExternalTextureParams 1 "yuvToRgbConversionMatrix" OpName %ext_tex_params "ext_tex_params" OpName %arg_0 "arg_0" OpName %arg_1 "arg_1" OpName %textureSampleExternal "textureSampleExternal" OpName %plane0 "plane0" OpName %plane1 "plane1" OpName %smp "smp" OpName %coord "coord" OpName %params "params" OpName %color "color" OpName %textureSampleLevel_979816 "textureSampleLevel_979816" OpName %res "res" OpName %vertex_main_inner "vertex_main_inner" OpName %vertex_main "vertex_main" OpName %fragment_main "fragment_main" OpName %compute_main "compute_main" OpDecorate %value BuiltIn Position OpDecorate %vertex_point_size BuiltIn PointSize OpDecorate %ext_tex_plane_1 DescriptorSet 1 OpDecorate %ext_tex_plane_1 Binding 2 OpDecorate %ExternalTextureParams Block OpMemberDecorate %ExternalTextureParams 0 Offset 0 OpMemberDecorate %ExternalTextureParams 1 Offset 16 OpMemberDecorate %ExternalTextureParams 1 ColMajor OpMemberDecorate %ExternalTextureParams 1 MatrixStride 16 OpDecorate %ext_tex_params NonWritable OpDecorate %ext_tex_params DescriptorSet 1 OpDecorate %ext_tex_params Binding 3 OpDecorate %arg_0 DescriptorSet 1 OpDecorate %arg_0 Binding 0 OpDecorate %arg_1 DescriptorSet 1 OpDecorate %arg_1 Binding 1 %float = OpTypeFloat 32 %v4float = OpTypeVector %float 4 %_ptr_Output_v4float = OpTypePointer Output %v4float %5 = OpConstantNull %v4float %value = OpVariable %_ptr_Output_v4float Output %5 %_ptr_Output_float = OpTypePointer Output %float %8 = OpConstantNull %float %vertex_point_size = OpVariable %_ptr_Output_float Output %8 %11 = OpTypeImage %float 2D 0 0 0 1 Unknown %_ptr_UniformConstant_11 = OpTypePointer UniformConstant %11 %ext_tex_plane_1 = OpVariable %_ptr_UniformConstant_11 UniformConstant %uint = OpTypeInt 32 0 %mat3v4float = OpTypeMatrix %v4float 3 %ExternalTextureParams = OpTypeStruct %uint %mat3v4float %_ptr_Uniform_ExternalTextureParams = OpTypePointer Uniform %ExternalTextureParams %ext_tex_params = OpVariable %_ptr_Uniform_ExternalTextureParams Uniform %arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant %20 = OpTypeSampler %_ptr_UniformConstant_20 = OpTypePointer UniformConstant %20 %arg_1 = OpVariable %_ptr_UniformConstant_20 UniformConstant %v2float = OpTypeVector %float 2 %21 = OpTypeFunction %v4float %11 %11 %20 %v2float %ExternalTextureParams %v3float = OpTypeVector %float 3 %_ptr_Function_v3float = OpTypePointer Function %v3float %33 = OpConstantNull %v3float %uint_1 = OpConstant %uint 1 %bool = OpTypeBool %42 = OpTypeSampledImage %11 %float_0 = OpConstant %float 0 %float_1 = OpConstant %float 1 %void = OpTypeVoid %63 = OpTypeFunction %void %71 = OpConstantNull %v2float %_ptr_Function_v4float = OpTypePointer Function %v4float %75 = OpTypeFunction %v4float %textureSampleExternal = OpFunction %v4float None %21 %plane0 = OpFunctionParameter %11 %plane1 = OpFunctionParameter %11 %smp = OpFunctionParameter %20 %coord = OpFunctionParameter %v2float %params = OpFunctionParameter %ExternalTextureParams %29 = OpLabel %color = OpVariable %_ptr_Function_v3float Function %33 %34 = OpCompositeExtract %uint %params 0 %36 = OpIEqual %bool %34 %uint_1 OpSelectionMerge %38 None OpBranchConditional %36 %39 %40 %39 = OpLabel %43 = OpSampledImage %42 %plane0 %smp %41 = OpImageSampleExplicitLod %v4float %43 %coord Lod %float_0 %45 = OpVectorShuffle %v3float %41 %41 0 1 2 OpStore %color %45 OpBranch %38 %40 = OpLabel %47 = OpSampledImage %42 %plane0 %smp %46 = OpImageSampleExplicitLod %v4float %47 %coord Lod %float_0 %48 = OpCompositeExtract %float %46 0 %50 = OpSampledImage %42 %plane1 %smp %49 = OpImageSampleExplicitLod %v4float %50 %coord Lod %float_0 %51 = OpVectorShuffle %v2float %49 %49 0 1 %52 = OpCompositeExtract %float %51 0 %53 = OpCompositeExtract %float %51 1 %55 = OpCompositeConstruct %v4float %48 %52 %53 %float_1 %56 = OpCompositeExtract %mat3v4float %params 1 %57 = OpVectorTimesMatrix %v3float %55 %56 OpStore %color %57 OpBranch %38 %38 = OpLabel %58 = OpLoad %v3float %color %59 = OpCompositeExtract %float %58 0 %60 = OpCompositeExtract %float %58 1 %61 = OpCompositeExtract %float %58 2 %62 = OpCompositeConstruct %v4float %59 %60 %61 %float_1 OpReturnValue %62 OpFunctionEnd %textureSampleLevel_979816 = OpFunction %void None %63 %66 = OpLabel %res = OpVariable %_ptr_Function_v4float Function %5 %68 = OpLoad %11 %arg_0 %69 = OpLoad %11 %ext_tex_plane_1 %70 = OpLoad %20 %arg_1 %72 = OpLoad %ExternalTextureParams %ext_tex_params %67 = OpFunctionCall %v4float %textureSampleExternal %68 %69 %70 %71 %72 OpStore %res %67 OpReturn OpFunctionEnd %vertex_main_inner = OpFunction %v4float None %75 %77 = OpLabel %78 = OpFunctionCall %void %textureSampleLevel_979816 OpReturnValue %5 OpFunctionEnd %vertex_main = OpFunction %void None %63 %80 = OpLabel %81 = OpFunctionCall %v4float %vertex_main_inner OpStore %value %81 OpStore %vertex_point_size %float_1 OpReturn OpFunctionEnd %fragment_main = OpFunction %void None %63 %83 = OpLabel %84 = OpFunctionCall %void %textureSampleLevel_979816 OpReturn OpFunctionEnd %compute_main = OpFunction %void None %63 %86 = OpLabel %87 = OpFunctionCall %void %textureSampleLevel_979816 OpReturn OpFunctionEnd