David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvLogicalTest_All.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 101 |
| 6 | ; Schema: 0 |
| 7 | OpCapability Shader |
| 8 | OpMemoryModel Logical Simple |
| 9 | OpEntryPoint Fragment %100 "main" |
| 10 | OpExecutionMode %100 OriginUpperLeft |
| 11 | %void = OpTypeVoid |
| 12 | %3 = OpTypeFunction %void |
| 13 | %bool = OpTypeBool |
| 14 | %true = OpConstantTrue %bool |
| 15 | %false = OpConstantFalse %bool |
| 16 | %uint = OpTypeInt 32 0 |
| 17 | %int = OpTypeInt 32 1 |
| 18 | %float = OpTypeFloat 32 |
| 19 | %uint_10 = OpConstant %uint 10 |
| 20 | %uint_20 = OpConstant %uint 20 |
| 21 | %int_30 = OpConstant %int 30 |
| 22 | %int_40 = OpConstant %int 40 |
| 23 | %float_50 = OpConstant %float 50 |
| 24 | %float_60 = OpConstant %float 60 |
| 25 | %_ptr_Function_uint = OpTypePointer Function %uint |
| 26 | %_ptr_Function_int = OpTypePointer Function %int |
| 27 | %_ptr_Function_float = OpTypePointer Function %float |
| 28 | %v2bool = OpTypeVector %bool 2 |
| 29 | %v2uint = OpTypeVector %uint 2 |
| 30 | %v2int = OpTypeVector %int 2 |
| 31 | %v2float = OpTypeVector %float 2 |
| 32 | %23 = OpConstantComposite %v2bool %true %false |
| 33 | %24 = OpConstantComposite %v2bool %false %true |
| 34 | %25 = OpConstantComposite %v2uint %uint_10 %uint_20 |
| 35 | %26 = OpConstantComposite %v2uint %uint_20 %uint_10 |
| 36 | %27 = OpConstantComposite %v2int %int_30 %int_40 |
| 37 | %28 = OpConstantComposite %v2int %int_40 %int_30 |
| 38 | %29 = OpConstantComposite %v2float %float_50 %float_60 |
| 39 | %30 = OpConstantComposite %v2float %float_60 %float_50 |
| 40 | %100 = OpFunction %void None %3 |
| 41 | %31 = OpLabel |
| 42 | %1 = OpAll %bool %23 |
| 43 | OpReturn |
| 44 | OpFunctionEnd |
| 45 | |