2022-04-06 13:57:54 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2023-01-04 12:29:56 +00:00
|
|
|
; Bound: 164
|
2022-04-06 13:57:54 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
2022-11-30 21:32:26 +00:00
|
|
|
%29 = OpExtInstImport "GLSL.std.450"
|
2022-04-06 13:57:54 +00:00
|
|
|
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"
|
2023-01-04 12:29:56 +00:00
|
|
|
OpName %ext_tex_params_block_std140 "ext_tex_params_block_std140"
|
|
|
|
OpMemberName %ext_tex_params_block_std140 0 "inner"
|
|
|
|
OpName %ExternalTextureParams_std140 "ExternalTextureParams_std140"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 0 "numPlanes"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 1 "doYuvToRgbConversionOnly"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 2 "yuvToRgbConversionMatrix"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 3 "gammaDecodeParams"
|
2022-04-29 21:00:14 +00:00
|
|
|
OpName %GammaTransferParams "GammaTransferParams"
|
|
|
|
OpMemberName %GammaTransferParams 0 "G"
|
|
|
|
OpMemberName %GammaTransferParams 1 "A"
|
|
|
|
OpMemberName %GammaTransferParams 2 "B"
|
|
|
|
OpMemberName %GammaTransferParams 3 "C"
|
|
|
|
OpMemberName %GammaTransferParams 4 "D"
|
|
|
|
OpMemberName %GammaTransferParams 5 "E"
|
|
|
|
OpMemberName %GammaTransferParams 6 "F"
|
|
|
|
OpMemberName %GammaTransferParams 7 "padding"
|
2023-01-04 12:29:56 +00:00
|
|
|
OpMemberName %ExternalTextureParams_std140 4 "gammaEncodeParams"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 5 "gamutConversionMatrix"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 6 "coordTransformationMatrix_0"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 7 "coordTransformationMatrix_1"
|
|
|
|
OpMemberName %ExternalTextureParams_std140 8 "coordTransformationMatrix_2"
|
2022-04-06 13:57:54 +00:00
|
|
|
OpName %ext_tex_params "ext_tex_params"
|
|
|
|
OpName %arg_0 "arg_0"
|
2022-04-29 21:00:14 +00:00
|
|
|
OpName %gammaCorrection "gammaCorrection"
|
|
|
|
OpName %v "v"
|
|
|
|
OpName %params "params"
|
2023-01-04 12:29:56 +00:00
|
|
|
OpName %ExternalTextureParams "ExternalTextureParams"
|
|
|
|
OpMemberName %ExternalTextureParams 0 "numPlanes"
|
|
|
|
OpMemberName %ExternalTextureParams 1 "doYuvToRgbConversionOnly"
|
|
|
|
OpMemberName %ExternalTextureParams 2 "yuvToRgbConversionMatrix"
|
|
|
|
OpMemberName %ExternalTextureParams 3 "gammaDecodeParams"
|
|
|
|
OpMemberName %ExternalTextureParams 4 "gammaEncodeParams"
|
|
|
|
OpMemberName %ExternalTextureParams 5 "gamutConversionMatrix"
|
|
|
|
OpMemberName %ExternalTextureParams 6 "coordTransformationMatrix"
|
2022-04-06 13:57:54 +00:00
|
|
|
OpName %textureLoadExternal "textureLoadExternal"
|
|
|
|
OpName %plane0 "plane0"
|
|
|
|
OpName %plane1 "plane1"
|
|
|
|
OpName %coord "coord"
|
2022-04-29 21:00:14 +00:00
|
|
|
OpName %params_0 "params"
|
2022-04-21 16:02:36 +00:00
|
|
|
OpName %color "color"
|
2022-04-06 13:57:54 +00:00
|
|
|
OpName %textureLoad2d "textureLoad2d"
|
|
|
|
OpName %texture "texture"
|
|
|
|
OpName %ext_tex_plane_1_1 "ext_tex_plane_1_1"
|
|
|
|
OpName %ext_tex_params_1 "ext_tex_params_1"
|
|
|
|
OpName %coords "coords"
|
2023-01-04 12:29:56 +00:00
|
|
|
OpName %conv_ExternalTextureParams "conv_ExternalTextureParams"
|
|
|
|
OpName %val "val"
|
2022-04-06 13:57:54 +00:00
|
|
|
OpName %doTextureLoad "doTextureLoad"
|
|
|
|
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 1
|
2023-01-04 12:29:56 +00:00
|
|
|
OpDecorate %ext_tex_params_block_std140 Block
|
|
|
|
OpMemberDecorate %ext_tex_params_block_std140 0 Offset 0
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 0 Offset 0
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 1 Offset 4
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 2 Offset 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 2 ColMajor
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 2 MatrixStride 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 3 Offset 64
|
2022-04-29 21:00:14 +00:00
|
|
|
OpMemberDecorate %GammaTransferParams 0 Offset 0
|
|
|
|
OpMemberDecorate %GammaTransferParams 1 Offset 4
|
|
|
|
OpMemberDecorate %GammaTransferParams 2 Offset 8
|
|
|
|
OpMemberDecorate %GammaTransferParams 3 Offset 12
|
|
|
|
OpMemberDecorate %GammaTransferParams 4 Offset 16
|
|
|
|
OpMemberDecorate %GammaTransferParams 5 Offset 20
|
|
|
|
OpMemberDecorate %GammaTransferParams 6 Offset 24
|
|
|
|
OpMemberDecorate %GammaTransferParams 7 Offset 28
|
2023-01-04 12:29:56 +00:00
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 4 Offset 96
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 5 Offset 128
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 5 ColMajor
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 5 MatrixStride 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 6 Offset 176
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 7 Offset 184
|
|
|
|
OpMemberDecorate %ExternalTextureParams_std140 8 Offset 192
|
|
|
|
OpDecorate %ext_tex_params NonWritable
|
|
|
|
OpDecorate %ext_tex_params DescriptorSet 1
|
|
|
|
OpDecorate %ext_tex_params Binding 2
|
|
|
|
OpDecorate %arg_0 DescriptorSet 1
|
|
|
|
OpDecorate %arg_0 Binding 0
|
|
|
|
OpMemberDecorate %ExternalTextureParams 0 Offset 0
|
|
|
|
OpMemberDecorate %ExternalTextureParams 1 Offset 4
|
|
|
|
OpMemberDecorate %ExternalTextureParams 2 Offset 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams 2 ColMajor
|
|
|
|
OpMemberDecorate %ExternalTextureParams 2 MatrixStride 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams 3 Offset 64
|
2022-11-30 21:32:26 +00:00
|
|
|
OpMemberDecorate %ExternalTextureParams 4 Offset 96
|
|
|
|
OpMemberDecorate %ExternalTextureParams 5 Offset 128
|
|
|
|
OpMemberDecorate %ExternalTextureParams 5 ColMajor
|
|
|
|
OpMemberDecorate %ExternalTextureParams 5 MatrixStride 16
|
|
|
|
OpMemberDecorate %ExternalTextureParams 6 Offset 176
|
|
|
|
OpMemberDecorate %ExternalTextureParams 6 ColMajor
|
2023-01-04 12:29:56 +00:00
|
|
|
OpMemberDecorate %ExternalTextureParams 6 MatrixStride 8
|
2022-04-06 13:57:54 +00:00
|
|
|
%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
|
2022-04-21 16:02:36 +00:00
|
|
|
%mat3v4float = OpTypeMatrix %v4float 3
|
2022-04-29 21:00:14 +00:00
|
|
|
%GammaTransferParams = OpTypeStruct %float %float %float %float %float %float %float %uint
|
|
|
|
%v3float = OpTypeVector %float 3
|
|
|
|
%mat3v3float = OpTypeMatrix %v3float 3
|
2023-01-04 12:29:56 +00:00
|
|
|
%v2float = OpTypeVector %float 2
|
|
|
|
%ExternalTextureParams_std140 = OpTypeStruct %uint %uint %mat3v4float %GammaTransferParams %GammaTransferParams %mat3v3float %v2float %v2float %v2float
|
|
|
|
%ext_tex_params_block_std140 = OpTypeStruct %ExternalTextureParams_std140
|
|
|
|
%_ptr_Uniform_ext_tex_params_block_std140 = OpTypePointer Uniform %ext_tex_params_block_std140
|
|
|
|
%ext_tex_params = OpVariable %_ptr_Uniform_ext_tex_params_block_std140 Uniform
|
2022-04-06 13:57:54 +00:00
|
|
|
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
|
2022-11-30 21:32:26 +00:00
|
|
|
%23 = OpTypeFunction %v3float %v3float %GammaTransferParams
|
2022-04-29 21:00:14 +00:00
|
|
|
%bool = OpTypeBool
|
|
|
|
%v3bool = OpTypeVector %bool 3
|
|
|
|
%_ptr_Function_v3float = OpTypePointer Function %v3float
|
2022-11-30 21:32:26 +00:00
|
|
|
%43 = OpConstantNull %v3float
|
2022-04-06 13:57:54 +00:00
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%v2int = OpTypeVector %int 2
|
2023-01-04 12:29:56 +00:00
|
|
|
%mat3v2float = OpTypeMatrix %v2float 3
|
|
|
|
%ExternalTextureParams = OpTypeStruct %uint %uint %mat3v4float %GammaTransferParams %GammaTransferParams %mat3v3float %mat3v2float
|
2022-11-30 21:32:26 +00:00
|
|
|
%63 = OpTypeFunction %v4float %11 %11 %v2int %ExternalTextureParams
|
2022-04-06 13:57:54 +00:00
|
|
|
%uint_1 = OpConstant %uint 1
|
2023-01-04 12:29:56 +00:00
|
|
|
%82 = OpConstantNull %int
|
2022-04-06 13:57:54 +00:00
|
|
|
%float_1 = OpConstant %float 1
|
2023-01-04 12:29:56 +00:00
|
|
|
%95 = OpConstantNull %uint
|
|
|
|
%113 = OpTypeFunction %v4float %11 %11 %ExternalTextureParams %v2int
|
|
|
|
%121 = OpTypeFunction %ExternalTextureParams %ExternalTextureParams_std140
|
2022-04-06 13:57:54 +00:00
|
|
|
%void = OpTypeVoid
|
2023-01-04 12:29:56 +00:00
|
|
|
%136 = OpTypeFunction %void
|
2022-09-02 19:19:10 +00:00
|
|
|
%uint_0 = OpConstant %uint 0
|
2023-01-04 12:29:56 +00:00
|
|
|
%_ptr_Uniform_ExternalTextureParams_std140 = OpTypePointer Uniform %ExternalTextureParams_std140
|
|
|
|
%148 = OpConstantNull %v2int
|
2022-04-06 13:57:54 +00:00
|
|
|
%_ptr_Function_v4float = OpTypePointer Function %v4float
|
2023-01-04 12:29:56 +00:00
|
|
|
%151 = OpTypeFunction %v4float
|
2022-11-30 21:32:26 +00:00
|
|
|
%gammaCorrection = OpFunction %v3float None %23
|
2022-04-29 21:00:14 +00:00
|
|
|
%v = OpFunctionParameter %v3float
|
|
|
|
%params = OpFunctionParameter %GammaTransferParams
|
2022-11-30 21:32:26 +00:00
|
|
|
%27 = OpLabel
|
|
|
|
%41 = OpVariable %_ptr_Function_v3float Function %43
|
|
|
|
%53 = OpVariable %_ptr_Function_v3float Function %43
|
|
|
|
%59 = OpVariable %_ptr_Function_v3float Function %43
|
|
|
|
%28 = OpExtInst %v3float %29 FAbs %v
|
|
|
|
%30 = OpCompositeExtract %float %params 4
|
|
|
|
%31 = OpCompositeConstruct %v3float %30 %30 %30
|
|
|
|
%32 = OpFOrdLessThan %v3bool %28 %31
|
|
|
|
%35 = OpExtInst %v3float %29 FSign %v
|
|
|
|
%36 = OpCompositeExtract %float %params 3
|
|
|
|
%37 = OpExtInst %v3float %29 FAbs %v
|
|
|
|
%38 = OpVectorTimesScalar %v3float %37 %36
|
|
|
|
%39 = OpCompositeExtract %float %params 6
|
|
|
|
%44 = OpCompositeConstruct %v3float %39 %39 %39
|
|
|
|
%40 = OpFAdd %v3float %38 %44
|
|
|
|
%45 = OpFMul %v3float %35 %40
|
|
|
|
%46 = OpExtInst %v3float %29 FSign %v
|
|
|
|
%48 = OpCompositeExtract %float %params 1
|
|
|
|
%49 = OpExtInst %v3float %29 FAbs %v
|
|
|
|
%50 = OpVectorTimesScalar %v3float %49 %48
|
|
|
|
%51 = OpCompositeExtract %float %params 2
|
|
|
|
%54 = OpCompositeConstruct %v3float %51 %51 %51
|
|
|
|
%52 = OpFAdd %v3float %50 %54
|
|
|
|
%55 = OpCompositeExtract %float %params 0
|
|
|
|
%56 = OpCompositeConstruct %v3float %55 %55 %55
|
|
|
|
%47 = OpExtInst %v3float %29 Pow %52 %56
|
|
|
|
%57 = OpCompositeExtract %float %params 5
|
|
|
|
%60 = OpCompositeConstruct %v3float %57 %57 %57
|
|
|
|
%58 = OpFAdd %v3float %47 %60
|
|
|
|
%61 = OpFMul %v3float %46 %58
|
|
|
|
%62 = OpSelect %v3float %32 %45 %61
|
|
|
|
OpReturnValue %62
|
2022-04-29 21:00:14 +00:00
|
|
|
OpFunctionEnd
|
2022-11-30 21:32:26 +00:00
|
|
|
%textureLoadExternal = OpFunction %v4float None %63
|
2022-04-06 13:57:54 +00:00
|
|
|
%plane0 = OpFunctionParameter %11
|
|
|
|
%plane1 = OpFunctionParameter %11
|
|
|
|
%coord = OpFunctionParameter %v2int
|
2022-04-29 21:00:14 +00:00
|
|
|
%params_0 = OpFunctionParameter %ExternalTextureParams
|
2023-01-04 12:29:56 +00:00
|
|
|
%73 = OpLabel
|
2022-11-30 21:32:26 +00:00
|
|
|
%color = OpVariable %_ptr_Function_v3float Function %43
|
2023-01-04 12:29:56 +00:00
|
|
|
%75 = OpCompositeExtract %uint %params_0 0
|
|
|
|
%77 = OpIEqual %bool %75 %uint_1
|
|
|
|
OpSelectionMerge %78 None
|
|
|
|
OpBranchConditional %77 %79 %80
|
|
|
|
%79 = OpLabel
|
|
|
|
%81 = OpImageFetch %v4float %plane0 %coord Lod %82
|
|
|
|
%83 = OpVectorShuffle %v3float %81 %81 0 1 2
|
|
|
|
OpStore %color %83
|
|
|
|
OpBranch %78
|
|
|
|
%80 = OpLabel
|
|
|
|
%84 = OpImageFetch %v4float %plane0 %coord Lod %82
|
|
|
|
%85 = OpCompositeExtract %float %84 0
|
|
|
|
%86 = OpImageFetch %v4float %plane1 %coord Lod %82
|
|
|
|
%87 = OpVectorShuffle %v2float %86 %86 0 1
|
|
|
|
%88 = OpCompositeExtract %float %87 0
|
|
|
|
%89 = OpCompositeExtract %float %87 1
|
|
|
|
%91 = OpCompositeConstruct %v4float %85 %88 %89 %float_1
|
|
|
|
%92 = OpCompositeExtract %mat3v4float %params_0 2
|
|
|
|
%93 = OpVectorTimesMatrix %v3float %91 %92
|
|
|
|
OpStore %color %93
|
|
|
|
OpBranch %78
|
2022-11-30 21:32:26 +00:00
|
|
|
%78 = OpLabel
|
2023-01-04 12:29:56 +00:00
|
|
|
%94 = OpCompositeExtract %uint %params_0 1
|
|
|
|
%96 = OpIEqual %bool %94 %95
|
|
|
|
OpSelectionMerge %97 None
|
|
|
|
OpBranchConditional %96 %98 %97
|
|
|
|
%98 = OpLabel
|
|
|
|
%100 = OpLoad %v3float %color
|
|
|
|
%101 = OpCompositeExtract %GammaTransferParams %params_0 3
|
|
|
|
%99 = OpFunctionCall %v3float %gammaCorrection %100 %101
|
|
|
|
OpStore %color %99
|
|
|
|
%102 = OpCompositeExtract %mat3v3float %params_0 5
|
|
|
|
%103 = OpLoad %v3float %color
|
|
|
|
%104 = OpMatrixTimesVector %v3float %102 %103
|
2022-12-16 05:41:06 +00:00
|
|
|
OpStore %color %104
|
2023-01-04 12:29:56 +00:00
|
|
|
%106 = OpLoad %v3float %color
|
|
|
|
%107 = OpCompositeExtract %GammaTransferParams %params_0 4
|
|
|
|
%105 = OpFunctionCall %v3float %gammaCorrection %106 %107
|
|
|
|
OpStore %color %105
|
|
|
|
OpBranch %97
|
|
|
|
%97 = OpLabel
|
|
|
|
%108 = OpLoad %v3float %color
|
|
|
|
%109 = OpCompositeExtract %float %108 0
|
|
|
|
%110 = OpCompositeExtract %float %108 1
|
|
|
|
%111 = OpCompositeExtract %float %108 2
|
|
|
|
%112 = OpCompositeConstruct %v4float %109 %110 %111 %float_1
|
|
|
|
OpReturnValue %112
|
2022-04-06 13:57:54 +00:00
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%textureLoad2d = OpFunction %v4float None %113
|
2022-04-06 13:57:54 +00:00
|
|
|
%texture = OpFunctionParameter %11
|
|
|
|
%ext_tex_plane_1_1 = OpFunctionParameter %11
|
|
|
|
%ext_tex_params_1 = OpFunctionParameter %ExternalTextureParams
|
|
|
|
%coords = OpFunctionParameter %v2int
|
2023-01-04 12:29:56 +00:00
|
|
|
%119 = OpLabel
|
|
|
|
%120 = OpFunctionCall %v4float %textureLoadExternal %texture %ext_tex_plane_1_1 %coords %ext_tex_params_1
|
|
|
|
OpReturnValue %120
|
|
|
|
OpFunctionEnd
|
|
|
|
%conv_ExternalTextureParams = OpFunction %ExternalTextureParams None %121
|
|
|
|
%val = OpFunctionParameter %ExternalTextureParams_std140
|
|
|
|
%124 = OpLabel
|
|
|
|
%125 = OpCompositeExtract %uint %val 0
|
|
|
|
%126 = OpCompositeExtract %uint %val 1
|
|
|
|
%127 = OpCompositeExtract %mat3v4float %val 2
|
|
|
|
%128 = OpCompositeExtract %GammaTransferParams %val 3
|
|
|
|
%129 = OpCompositeExtract %GammaTransferParams %val 4
|
|
|
|
%130 = OpCompositeExtract %mat3v3float %val 5
|
|
|
|
%131 = OpCompositeExtract %v2float %val 6
|
|
|
|
%132 = OpCompositeExtract %v2float %val 7
|
|
|
|
%133 = OpCompositeExtract %v2float %val 8
|
|
|
|
%134 = OpCompositeConstruct %mat3v2float %131 %132 %133
|
|
|
|
%135 = OpCompositeConstruct %ExternalTextureParams %125 %126 %127 %128 %129 %130 %134
|
|
|
|
OpReturnValue %135
|
2022-06-22 03:14:26 +00:00
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%doTextureLoad = OpFunction %void None %136
|
|
|
|
%139 = OpLabel
|
2022-04-06 13:57:54 +00:00
|
|
|
%res = OpVariable %_ptr_Function_v4float Function %5
|
2023-01-04 12:29:56 +00:00
|
|
|
%141 = OpLoad %11 %arg_0
|
|
|
|
%142 = OpLoad %11 %ext_tex_plane_1
|
|
|
|
%146 = OpAccessChain %_ptr_Uniform_ExternalTextureParams_std140 %ext_tex_params %uint_0
|
|
|
|
%147 = OpLoad %ExternalTextureParams_std140 %146
|
|
|
|
%143 = OpFunctionCall %ExternalTextureParams %conv_ExternalTextureParams %147
|
|
|
|
%140 = OpFunctionCall %v4float %textureLoad2d %141 %142 %143 %148
|
|
|
|
OpStore %res %140
|
2022-04-06 13:57:54 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%vertex_main_inner = OpFunction %v4float None %151
|
|
|
|
%153 = OpLabel
|
|
|
|
%154 = OpFunctionCall %void %doTextureLoad
|
2022-04-06 13:57:54 +00:00
|
|
|
OpReturnValue %5
|
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%vertex_main = OpFunction %void None %136
|
|
|
|
%156 = OpLabel
|
|
|
|
%157 = OpFunctionCall %v4float %vertex_main_inner
|
|
|
|
OpStore %value %157
|
2022-04-06 13:57:54 +00:00
|
|
|
OpStore %vertex_point_size %float_1
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%fragment_main = OpFunction %void None %136
|
|
|
|
%159 = OpLabel
|
|
|
|
%160 = OpFunctionCall %void %doTextureLoad
|
2022-04-06 13:57:54 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-01-04 12:29:56 +00:00
|
|
|
%compute_main = OpFunction %void None %136
|
|
|
|
%162 = OpLabel
|
|
|
|
%163 = OpFunctionCall %void %doTextureLoad
|
2022-04-06 13:57:54 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|