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

27 lines
872 B
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 11
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %main "main"
OpExecutionMode %main OriginUpperLeft
OpName %the_counter "the_counter"
OpName %main_1 "main_1"
OpName %main "main"
%float = OpTypeFloat 32
%_ptr_Workgroup_float = OpTypePointer Workgroup %float
%the_counter = OpVariable %_ptr_Workgroup_float Workgroup
%void = OpTypeVoid
%4 = OpTypeFunction %void
%main_1 = OpFunction %void None %4
%7 = OpLabel
OpReturn
OpFunctionEnd
%main = OpFunction %void None %4
%9 = OpLabel
%10 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd