blob: b4be368d134a7e9bffd18d52d34a858553d50348 [file] [log] [blame]
; Test: SpvModuleScopeVarParserTest_NamedWorkgroupVar.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 53
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Fragment %1 "main"
OpExecutionMode %1 OriginUpperLeft
OpName %the_counter "the_counter"
%float = OpTypeFloat 32
%_ptr_Workgroup_float = OpTypePointer Workgroup %float
%the_counter = OpVariable %_ptr_Workgroup_float Workgroup
%void = OpTypeVoid
%5 = OpTypeFunction %void
%1 = OpFunction %void None %5
%6 = OpLabel
OpReturn
OpFunctionEnd