2022-10-24 23:58:53 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2023-03-06 18:25:08 +00:00
|
|
|
; Bound: 167
|
2022-10-24 23:58:53 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
2023-03-06 18:25:08 +00:00
|
|
|
%32 = OpExtInstImport "GLSL.std.450"
|
2022-10-24 23:58:53 +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-10-24 23:58:53 +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-10-24 23:58:53 +00:00
|
|
|
OpName %ext_tex_params "ext_tex_params"
|
|
|
|
OpName %arg_0 "arg_0"
|
2023-03-06 18:25:08 +00:00
|
|
|
OpName %prevent_dce_block "prevent_dce_block"
|
|
|
|
OpMemberName %prevent_dce_block 0 "inner"
|
|
|
|
OpName %prevent_dce "prevent_dce"
|
2022-10-24 23:58:53 +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-10-24 23:58:53 +00:00
|
|
|
OpName %textureLoadExternal "textureLoadExternal"
|
|
|
|
OpName %plane0 "plane0"
|
|
|
|
OpName %plane1 "plane1"
|
|
|
|
OpName %coord "coord"
|
|
|
|
OpName %params_0 "params"
|
|
|
|
OpName %color "color"
|
2023-01-04 12:29:56 +00:00
|
|
|
OpName %conv_ExternalTextureParams "conv_ExternalTextureParams"
|
|
|
|
OpName %val "val"
|
2022-10-24 23:58:53 +00:00
|
|
|
OpName %textureLoad_1bfdfb "textureLoad_1bfdfb"
|
|
|
|
OpName %arg_1 "arg_1"
|
|
|
|
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-10-24 23:58:53 +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
|
2023-03-06 18:25:08 +00:00
|
|
|
OpDecorate %prevent_dce_block Block
|
|
|
|
OpMemberDecorate %prevent_dce_block 0 Offset 0
|
|
|
|
OpDecorate %prevent_dce DescriptorSet 2
|
|
|
|
OpDecorate %prevent_dce Binding 0
|
2023-01-04 12:29:56 +00:00
|
|
|
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-10-24 23:58:53 +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
|
|
|
|
%mat3v4float = OpTypeMatrix %v4float 3
|
|
|
|
%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-10-24 23:58:53 +00:00
|
|
|
%arg_0 = OpVariable %_ptr_UniformConstant_11 UniformConstant
|
2023-03-06 18:25:08 +00:00
|
|
|
%prevent_dce_block = OpTypeStruct %v4float
|
|
|
|
%_ptr_StorageBuffer_prevent_dce_block = OpTypePointer StorageBuffer %prevent_dce_block
|
|
|
|
%prevent_dce = OpVariable %_ptr_StorageBuffer_prevent_dce_block StorageBuffer
|
|
|
|
%26 = OpTypeFunction %v3float %v3float %GammaTransferParams
|
2022-10-24 23:58:53 +00:00
|
|
|
%bool = OpTypeBool
|
|
|
|
%v3bool = OpTypeVector %bool 3
|
|
|
|
%_ptr_Function_v3float = OpTypePointer Function %v3float
|
2023-03-06 18:25:08 +00:00
|
|
|
%46 = OpConstantNull %v3float
|
2022-10-24 23:58:53 +00:00
|
|
|
%v2uint = OpTypeVector %uint 2
|
2023-01-04 12:29:56 +00:00
|
|
|
%mat3v2float = OpTypeMatrix %v2float 3
|
|
|
|
%ExternalTextureParams = OpTypeStruct %uint %uint %mat3v4float %GammaTransferParams %GammaTransferParams %mat3v3float %mat3v2float
|
2023-03-06 18:25:08 +00:00
|
|
|
%66 = OpTypeFunction %v4float %11 %11 %v2uint %ExternalTextureParams
|
2022-10-24 23:58:53 +00:00
|
|
|
%uint_1 = OpConstant %uint 1
|
2023-03-06 18:25:08 +00:00
|
|
|
%77 = OpConstantComposite %v2uint %uint_1 %uint_1
|
2022-10-26 18:47:02 +00:00
|
|
|
%int = OpTypeInt 32 1
|
2023-03-06 18:25:08 +00:00
|
|
|
%87 = OpConstantNull %int
|
2022-10-24 23:58:53 +00:00
|
|
|
%float_1 = OpConstant %float 1
|
2023-03-06 18:25:08 +00:00
|
|
|
%100 = OpConstantNull %uint
|
|
|
|
%118 = OpTypeFunction %ExternalTextureParams %ExternalTextureParams_std140
|
2022-10-24 23:58:53 +00:00
|
|
|
%void = OpTypeVoid
|
2023-03-06 18:25:08 +00:00
|
|
|
%133 = OpTypeFunction %void
|
2022-10-24 23:58:53 +00:00
|
|
|
%_ptr_Function_v2uint = OpTypePointer Function %v2uint
|
2023-03-06 18:25:08 +00:00
|
|
|
%139 = OpConstantNull %v2uint
|
2022-10-24 23:58:53 +00:00
|
|
|
%uint_0 = OpConstant %uint 0
|
2023-01-04 12:29:56 +00:00
|
|
|
%_ptr_Uniform_ExternalTextureParams_std140 = OpTypePointer Uniform %ExternalTextureParams_std140
|
2022-10-24 23:58:53 +00:00
|
|
|
%_ptr_Function_v4float = OpTypePointer Function %v4float
|
2023-03-06 18:25:08 +00:00
|
|
|
%_ptr_StorageBuffer_v4float = OpTypePointer StorageBuffer %v4float
|
|
|
|
%154 = OpTypeFunction %v4float
|
|
|
|
%gammaCorrection = OpFunction %v3float None %26
|
2022-10-24 23:58:53 +00:00
|
|
|
%v = OpFunctionParameter %v3float
|
|
|
|
%params = OpFunctionParameter %GammaTransferParams
|
2023-03-06 18:25:08 +00:00
|
|
|
%30 = OpLabel
|
|
|
|
%44 = OpVariable %_ptr_Function_v3float Function %46
|
|
|
|
%56 = OpVariable %_ptr_Function_v3float Function %46
|
|
|
|
%62 = OpVariable %_ptr_Function_v3float Function %46
|
|
|
|
%31 = OpExtInst %v3float %32 FAbs %v
|
|
|
|
%33 = OpCompositeExtract %float %params 4
|
|
|
|
%34 = OpCompositeConstruct %v3float %33 %33 %33
|
|
|
|
%35 = OpFOrdLessThan %v3bool %31 %34
|
|
|
|
%38 = OpExtInst %v3float %32 FSign %v
|
|
|
|
%39 = OpCompositeExtract %float %params 3
|
|
|
|
%40 = OpExtInst %v3float %32 FAbs %v
|
|
|
|
%41 = OpVectorTimesScalar %v3float %40 %39
|
|
|
|
%42 = OpCompositeExtract %float %params 6
|
|
|
|
%47 = OpCompositeConstruct %v3float %42 %42 %42
|
|
|
|
%43 = OpFAdd %v3float %41 %47
|
|
|
|
%48 = OpFMul %v3float %38 %43
|
|
|
|
%49 = OpExtInst %v3float %32 FSign %v
|
|
|
|
%51 = OpCompositeExtract %float %params 1
|
|
|
|
%52 = OpExtInst %v3float %32 FAbs %v
|
|
|
|
%53 = OpVectorTimesScalar %v3float %52 %51
|
|
|
|
%54 = OpCompositeExtract %float %params 2
|
|
|
|
%57 = OpCompositeConstruct %v3float %54 %54 %54
|
|
|
|
%55 = OpFAdd %v3float %53 %57
|
|
|
|
%58 = OpCompositeExtract %float %params 0
|
|
|
|
%59 = OpCompositeConstruct %v3float %58 %58 %58
|
|
|
|
%50 = OpExtInst %v3float %32 Pow %55 %59
|
|
|
|
%60 = OpCompositeExtract %float %params 5
|
|
|
|
%63 = OpCompositeConstruct %v3float %60 %60 %60
|
|
|
|
%61 = OpFAdd %v3float %50 %63
|
|
|
|
%64 = OpFMul %v3float %49 %61
|
|
|
|
%65 = OpSelect %v3float %35 %48 %64
|
|
|
|
OpReturnValue %65
|
2022-10-24 23:58:53 +00:00
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%textureLoadExternal = OpFunction %v4float None %66
|
2022-10-24 23:58:53 +00:00
|
|
|
%plane0 = OpFunctionParameter %11
|
|
|
|
%plane1 = OpFunctionParameter %11
|
|
|
|
%coord = OpFunctionParameter %v2uint
|
|
|
|
%params_0 = OpFunctionParameter %ExternalTextureParams
|
2023-03-06 18:25:08 +00:00
|
|
|
%75 = OpLabel
|
|
|
|
%color = OpVariable %_ptr_Function_v3float Function %46
|
|
|
|
%78 = OpShiftRightLogical %v2uint %coord %77
|
|
|
|
%80 = OpCompositeExtract %uint %params_0 0
|
|
|
|
%81 = OpIEqual %bool %80 %uint_1
|
|
|
|
OpSelectionMerge %82 None
|
|
|
|
OpBranchConditional %81 %83 %84
|
|
|
|
%83 = OpLabel
|
|
|
|
%85 = OpImageFetch %v4float %plane0 %coord Lod %87
|
|
|
|
%88 = OpVectorShuffle %v3float %85 %85 0 1 2
|
|
|
|
OpStore %color %88
|
|
|
|
OpBranch %82
|
|
|
|
%84 = OpLabel
|
|
|
|
%89 = OpImageFetch %v4float %plane0 %coord Lod %87
|
2023-02-23 13:03:52 +00:00
|
|
|
%90 = OpCompositeExtract %float %89 0
|
2023-03-06 18:25:08 +00:00
|
|
|
%91 = OpImageFetch %v4float %plane1 %78 Lod %87
|
|
|
|
%92 = OpVectorShuffle %v2float %91 %91 0 1
|
|
|
|
%93 = OpCompositeExtract %float %92 0
|
|
|
|
%94 = OpCompositeExtract %float %92 1
|
|
|
|
%96 = OpCompositeConstruct %v4float %90 %93 %94 %float_1
|
|
|
|
%97 = OpCompositeExtract %mat3v4float %params_0 2
|
|
|
|
%98 = OpVectorTimesMatrix %v3float %96 %97
|
|
|
|
OpStore %color %98
|
|
|
|
OpBranch %82
|
|
|
|
%82 = OpLabel
|
|
|
|
%99 = OpCompositeExtract %uint %params_0 1
|
|
|
|
%101 = OpIEqual %bool %99 %100
|
|
|
|
OpSelectionMerge %102 None
|
|
|
|
OpBranchConditional %101 %103 %102
|
|
|
|
%103 = OpLabel
|
2023-02-23 13:03:52 +00:00
|
|
|
%105 = OpLoad %v3float %color
|
2023-03-06 18:25:08 +00:00
|
|
|
%106 = OpCompositeExtract %GammaTransferParams %params_0 3
|
|
|
|
%104 = OpFunctionCall %v3float %gammaCorrection %105 %106
|
|
|
|
OpStore %color %104
|
|
|
|
%107 = OpCompositeExtract %mat3v3float %params_0 5
|
2023-01-04 12:29:56 +00:00
|
|
|
%108 = OpLoad %v3float %color
|
2023-03-06 18:25:08 +00:00
|
|
|
%109 = OpMatrixTimesVector %v3float %107 %108
|
|
|
|
OpStore %color %109
|
|
|
|
%111 = OpLoad %v3float %color
|
|
|
|
%112 = OpCompositeExtract %GammaTransferParams %params_0 4
|
|
|
|
%110 = OpFunctionCall %v3float %gammaCorrection %111 %112
|
|
|
|
OpStore %color %110
|
|
|
|
OpBranch %102
|
|
|
|
%102 = OpLabel
|
|
|
|
%113 = OpLoad %v3float %color
|
|
|
|
%114 = OpCompositeExtract %float %113 0
|
|
|
|
%115 = OpCompositeExtract %float %113 1
|
|
|
|
%116 = OpCompositeExtract %float %113 2
|
|
|
|
%117 = OpCompositeConstruct %v4float %114 %115 %116 %float_1
|
|
|
|
OpReturnValue %117
|
2023-01-04 12:29:56 +00:00
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%conv_ExternalTextureParams = OpFunction %ExternalTextureParams None %118
|
2023-01-04 12:29:56 +00:00
|
|
|
%val = OpFunctionParameter %ExternalTextureParams_std140
|
2023-03-06 18:25:08 +00:00
|
|
|
%121 = OpLabel
|
|
|
|
%122 = OpCompositeExtract %uint %val 0
|
|
|
|
%123 = OpCompositeExtract %uint %val 1
|
|
|
|
%124 = OpCompositeExtract %mat3v4float %val 2
|
|
|
|
%125 = OpCompositeExtract %GammaTransferParams %val 3
|
|
|
|
%126 = OpCompositeExtract %GammaTransferParams %val 4
|
|
|
|
%127 = OpCompositeExtract %mat3v3float %val 5
|
|
|
|
%128 = OpCompositeExtract %v2float %val 6
|
|
|
|
%129 = OpCompositeExtract %v2float %val 7
|
|
|
|
%130 = OpCompositeExtract %v2float %val 8
|
|
|
|
%131 = OpCompositeConstruct %mat3v2float %128 %129 %130
|
|
|
|
%132 = OpCompositeConstruct %ExternalTextureParams %122 %123 %124 %125 %126 %127 %131
|
|
|
|
OpReturnValue %132
|
2022-10-24 23:58:53 +00:00
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%textureLoad_1bfdfb = OpFunction %void None %133
|
|
|
|
%136 = OpLabel
|
|
|
|
%arg_1 = OpVariable %_ptr_Function_v2uint Function %139
|
2022-10-24 23:58:53 +00:00
|
|
|
%res = OpVariable %_ptr_Function_v4float Function %5
|
2023-03-06 18:25:08 +00:00
|
|
|
OpStore %arg_1 %77
|
|
|
|
%141 = OpLoad %11 %arg_0
|
|
|
|
%142 = OpLoad %11 %ext_tex_plane_1
|
|
|
|
%143 = OpLoad %v2uint %arg_1
|
|
|
|
%147 = OpAccessChain %_ptr_Uniform_ExternalTextureParams_std140 %ext_tex_params %uint_0
|
|
|
|
%148 = OpLoad %ExternalTextureParams_std140 %147
|
|
|
|
%144 = OpFunctionCall %ExternalTextureParams %conv_ExternalTextureParams %148
|
|
|
|
%140 = OpFunctionCall %v4float %textureLoadExternal %141 %142 %143 %144
|
|
|
|
OpStore %res %140
|
|
|
|
%152 = OpAccessChain %_ptr_StorageBuffer_v4float %prevent_dce %uint_0
|
|
|
|
%153 = OpLoad %v4float %res
|
|
|
|
OpStore %152 %153
|
2022-10-24 23:58:53 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%vertex_main_inner = OpFunction %v4float None %154
|
|
|
|
%156 = OpLabel
|
|
|
|
%157 = OpFunctionCall %void %textureLoad_1bfdfb
|
2022-10-24 23:58:53 +00:00
|
|
|
OpReturnValue %5
|
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%vertex_main = OpFunction %void None %133
|
|
|
|
%159 = OpLabel
|
|
|
|
%160 = OpFunctionCall %v4float %vertex_main_inner
|
|
|
|
OpStore %value %160
|
2022-10-24 23:58:53 +00:00
|
|
|
OpStore %vertex_point_size %float_1
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%fragment_main = OpFunction %void None %133
|
|
|
|
%162 = OpLabel
|
|
|
|
%163 = OpFunctionCall %void %textureLoad_1bfdfb
|
2022-10-24 23:58:53 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|
2023-03-06 18:25:08 +00:00
|
|
|
%compute_main = OpFunction %void None %133
|
|
|
|
%165 = OpLabel
|
|
|
|
%166 = OpFunctionCall %void %textureLoad_1bfdfb
|
2022-10-24 23:58:53 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|