blob: 44c952301a60e82da409e9ec651a2018fdb0064a [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 21
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %u "u"
OpName %unused_entry_point "unused_entry_point"
OpName %f "f"
%bool = OpTypeBool
%v3bool = OpTypeVector %bool 3
%true = OpConstantTrue %bool
%4 = OpConstantComposite %v3bool %true %true %true
%_ptr_Private_v3bool = OpTypePointer Private %v3bool
%u = OpVariable %_ptr_Private_v3bool Private %4
%void = OpTypeVoid
%7 = OpTypeFunction %void
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%float_0 = OpConstant %float 0
%float_1 = OpConstant %float 1
%19 = OpConstantComposite %v3float %float_0 %float_0 %float_0
%20 = OpConstantComposite %v3float %float_1 %float_1 %float_1
%unused_entry_point = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %7
%12 = OpLabel
%16 = OpLoad %v3bool %u
%13 = OpSelect %v3float %16 %20 %19
OpReturn
OpFunctionEnd