| ; 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 |
| %v2bool = OpTypeVector %bool 2 |
| %true = OpConstantTrue %bool |
| %4 = OpConstantComposite %v2bool %true %true |
| %_ptr_Private_v2bool = OpTypePointer Private %v2bool |
| %u = OpVariable %_ptr_Private_v2bool Private %4 |
| %void = OpTypeVoid |
| %7 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %v2uint = OpTypeVector %uint 2 |
| %uint_0 = OpConstant %uint 0 |
| %uint_1 = OpConstant %uint 1 |
| %19 = OpConstantComposite %v2uint %uint_0 %uint_0 |
| %20 = OpConstantComposite %v2uint %uint_1 %uint_1 |
| %unused_entry_point = OpFunction %void None %7 |
| %10 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %f = OpFunction %void None %7 |
| %12 = OpLabel |
| %16 = OpLoad %v2bool %u |
| %13 = OpSelect %v2uint %16 %20 %19 |
| OpReturn |
| OpFunctionEnd |