dawn-cmake/test/tint/bug/chromium/1381883.wgsl.expected.spvasm

32 lines
1.0 KiB
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 14
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main" %none_1
OpExecutionMode %main OriginUpperLeft
OpName %none_1 "none_1"
OpName %main_inner "main_inner"
OpName %none "none"
OpName %main "main"
OpDecorate %none_1 Location 2
%float = OpTypeFloat 32
%_ptr_Input_float = OpTypePointer Input %float
%none_1 = OpVariable %_ptr_Input_float Input
%void = OpTypeVoid
%4 = OpTypeFunction %void %float
%9 = OpTypeFunction %void
%main_inner = OpFunction %void None %4
%none = OpFunctionParameter %float
%8 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %9
%11 = OpLabel
%13 = OpLoad %float %none_1
%12 = OpFunctionCall %void %main_inner %13
OpReturn
OpFunctionEnd