David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvModuleScopeVarParserTest_ScalarInitializers.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 33 |
| 6 | ; Schema: 0 |
| 7 | OpCapability Shader |
| 8 | OpMemoryModel Logical Simple |
| 9 | OpEntryPoint Fragment %6 "main" |
| 10 | OpExecutionMode %6 OriginUpperLeft |
| 11 | %void = OpTypeVoid |
| 12 | %8 = OpTypeFunction %void |
| 13 | %bool = OpTypeBool |
| 14 | %float = OpTypeFloat 32 |
| 15 | %uint = OpTypeInt 32 0 |
| 16 | %int = OpTypeInt 32 1 |
| 17 | %_ptr_Private_bool = OpTypePointer Private %bool |
| 18 | %_ptr_Private_float = OpTypePointer Private %float |
| 19 | %_ptr_Private_uint = OpTypePointer Private %uint |
| 20 | %_ptr_Private_int = OpTypePointer Private %int |
| 21 | %true = OpConstantTrue %bool |
| 22 | %false = OpConstantFalse %bool |
| 23 | %float_0 = OpConstant %float 0 |
| 24 | %float_1_5 = OpConstant %float 1.5 |
| 25 | %uint_1 = OpConstant %uint 1 |
| 26 | %int_n1 = OpConstant %int -1 |
| 27 | %int_14 = OpConstant %int 14 |
| 28 | %uint_2 = OpConstant %uint 2 |
| 29 | %v2bool = OpTypeVector %bool 2 |
| 30 | %v2uint = OpTypeVector %uint 2 |
| 31 | %v2int = OpTypeVector %int 2 |
| 32 | %v2float = OpTypeVector %float 2 |
| 33 | %v4float = OpTypeVector %float 4 |
| 34 | %mat3v2float = OpTypeMatrix %v2float 3 |
| 35 | %_arr_uint_uint_2 = OpTypeArray %uint %uint_2 |
| 36 | %1 = OpVariable %_ptr_Private_bool Private %true |
| 37 | %2 = OpVariable %_ptr_Private_bool Private %false |
| 38 | %3 = OpVariable %_ptr_Private_int Private %int_n1 |
| 39 | %4 = OpVariable %_ptr_Private_uint Private %uint_1 |
| 40 | %5 = OpVariable %_ptr_Private_float Private %float_1_5 |
| 41 | %6 = OpFunction %void None %8 |
| 42 | %32 = OpLabel |
| 43 | OpReturn |
| 44 | OpFunctionEnd |
| 45 | |