blob: f66585da4cda4657fabe1bef337bce3bd76ee796 [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
%v4bool = OpTypeVector %bool 4
%true = OpConstantTrue %bool
%4 = OpConstantComposite %v4bool %true %true %true %true
%_ptr_Private_v4bool = OpTypePointer Private %v4bool
%u = OpVariable %_ptr_Private_v4bool Private %4
%void = OpTypeVoid
%7 = OpTypeFunction %void
%int = OpTypeInt 32 1
%v4int = OpTypeVector %int 4
%int_0 = OpConstant %int 0
%int_1 = OpConstant %int 1
%19 = OpConstantComposite %v4int %int_0 %int_0 %int_0 %int_0
%20 = OpConstantComposite %v4int %int_1 %int_1 %int_1 %int_1
%unused_entry_point = OpFunction %void None %7
%10 = OpLabel
OpReturn
OpFunctionEnd
%f = OpFunction %void None %7
%12 = OpLabel
%16 = OpLoad %v4bool %u
%13 = OpSelect %v4int %16 %20 %19
OpReturn
OpFunctionEnd