blob: abe292b073cc171fc60ce8c99b813bc5bf2eef1b [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 15
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %a "a"
OpName %a_0 "a"
OpName %unused_entry_point "unused_entry_point"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%int = OpTypeInt 32 1
%_ptr_Function_int = OpTypePointer Function %int
%int_0 = OpConstant %int 0
%a = OpFunction %void None %3
%4 = OpLabel
%a_0 = OpVariable %_ptr_Function_int Function
OpStore %a_0 %int_0
%9 = OpLoad %int %a_0
OpSelectionMerge %12 None
OpSwitch %9 %10 0 %11 2 %11 4 %11 1 %10
%11 = OpLabel
OpBranch %12
%10 = OpLabel
OpBranch %12
%12 = OpLabel
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %3
%14 = OpLabel
OpReturn
OpFunctionEnd