dawn-cmake/test/bug/tint/219.spvasm.expected.spvasm

43 lines
1.5 KiB
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 25
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %x_200 "x_200"
OpName %x_201 "x_201"
OpName %main_1 "main_1"
OpName %x_11 "x_11"
OpName %main "main"
%float = OpTypeFloat 32
%v2float = OpTypeVector %float 2
%_ptr_Function_v2float = OpTypePointer Function %v2float
%1 = OpTypeFunction %float %_ptr_Function_v2float
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_Function_float = OpTypePointer Function %float
%void = OpTypeVoid
%14 = OpTypeFunction %void
%19 = OpConstantNull %v2float
%x_200 = OpFunction %float None %1
%x_201 = OpFunctionParameter %_ptr_Function_v2float
%7 = OpLabel
%12 = OpAccessChain %_ptr_Function_float %x_201 %uint_0
%13 = OpLoad %float %12
OpReturnValue %13
OpFunctionEnd
%main_1 = OpFunction %void None %14
%17 = OpLabel
%x_11 = OpVariable %_ptr_Function_v2float Function %19
%20 = OpFunctionCall %float %x_200 %x_11
OpReturn
OpFunctionEnd
%main = OpFunction %void None %14
%23 = OpLabel
%24 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd