blob: 45db09d213d1cbc7c53b2bd38ebf7616692ff598 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 29
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %t "t"
OpName %unused_entry_point "unused_entry_point"
OpName %m "m"
OpName %f "f"
OpName %v "v"
%bool = OpTypeBool
%_ptr_Private_bool = OpTypePointer Private %bool
%4 = OpConstantNull %bool
%t = OpVariable %_ptr_Private_bool Private %4
%void = OpTypeVoid
%5 = OpTypeFunction %void
%v4bool = OpTypeVector %bool 4
%9 = OpTypeFunction %v4bool
%true = OpConstantTrue %bool
%uint = OpTypeInt 32 0
%v4uint = OpTypeVector %uint 4
%uint_0 = OpConstant %uint 0
%uint_1 = OpConstant %uint 1
%24 = OpConstantComposite %v4uint %uint_0 %uint_0 %uint_0 %uint_0
%25 = OpConstantComposite %v4uint %uint_1 %uint_1 %uint_1 %uint_1
%_ptr_Function_v4uint = OpTypePointer Function %v4uint
%28 = OpConstantNull %v4uint
%unused_entry_point = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd
%m = OpFunction %v4bool None %9
%12 = OpLabel
OpStore %t %true
%14 = OpLoad %bool %t
%15 = OpCompositeConstruct %v4bool %14 %14 %14 %14
OpReturnValue %15
OpFunctionEnd
%f = OpFunction %void None %5
%17 = OpLabel
%v = OpVariable %_ptr_Function_v4uint Function %28
%18 = OpFunctionCall %v4bool %m
%19 = OpSelect %v4uint %18 %25 %24
OpStore %v %19
OpReturn
OpFunctionEnd