blob: 7a6eb60e97cbc99bbc4d6225e277d27302b2c71e [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 34
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
OpName %v2 "v2"
OpName %v3 "v3"
OpName %v4 "v4"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%bool = OpTypeBool
%v2bool = OpTypeVector %bool 2
%true = OpConstantTrue %bool
%false = OpConstantFalse %bool
%_ptr_Function_v2bool = OpTypePointer Function %v2bool
%17 = OpConstantNull %v2bool
%v3bool = OpTypeVector %bool 3
%_ptr_Function_v3bool = OpTypePointer Function %v3bool
%25 = OpConstantNull %v3bool
%v4bool = OpTypeVector %bool 4
%_ptr_Function_v4bool = OpTypePointer Function %v4bool
%33 = OpConstantNull %v4bool
%unused_entry_point = OpFunction %void None %1
%4 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %1
%6 = OpLabel
%v2 = OpVariable %_ptr_Function_v2bool Function %17
%v3 = OpVariable %_ptr_Function_v3bool Function %25
%v4 = OpVariable %_ptr_Function_v4bool Function %33
OpSelectionMerge %10 None
OpBranchConditional %true %10 %11
%11 = OpLabel
OpBranch %10
%10 = OpLabel
%13 = OpPhi %bool %true %6 %false %11
%14 = OpCompositeConstruct %v2bool %13 %13
OpStore %v2 %14
OpSelectionMerge %19 None
OpBranchConditional %true %19 %20
%20 = OpLabel
OpBranch %19
%19 = OpLabel
%21 = OpPhi %bool %true %10 %false %20
%22 = OpCompositeConstruct %v3bool %21 %21 %21
OpStore %v3 %22
OpSelectionMerge %27 None
OpBranchConditional %true %27 %28
%28 = OpLabel
OpBranch %27
%27 = OpLabel
%29 = OpPhi %bool %true %19 %false %28
%30 = OpCompositeConstruct %v4bool %29 %29 %29 %29
OpStore %v4 %30
OpReturn
OpFunctionEnd