dawn-cmake/test/tint/samples/function.wgsl.expected.spvasm

27 lines
816 B
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 12
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %ep "ep"
OpExecutionMode %ep LocalSize 2 1 1
OpName %main "main"
OpName %ep "ep"
%float = OpTypeFloat 32
%1 = OpTypeFunction %float
%float_2 = OpConstant %float 2
%float_5 = OpConstant %float 5
%void = OpTypeVoid
%8 = OpTypeFunction %void
%main = OpFunction %float None %1
%4 = OpLabel
%7 = OpFDiv %float %float_2 %float_5
OpReturnValue %7
OpFunctionEnd
%ep = OpFunction %void None %8
%11 = OpLabel
OpReturn
OpFunctionEnd