dawn-cmake/test/unittest/reader/spirv/SpvModuleScopeVarParserTest...

26 lines
788 B
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 10
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %myconst "myconst"
OpName %main_1 "main_1"
OpName %main "main"
%float = OpTypeFloat 32
%myconst = OpConstant %float 2.5
%void = OpTypeVoid
%3 = OpTypeFunction %void
%main_1 = OpFunction %void None %3
%6 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %3
%8 = OpLabel
%9 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd