David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvParserFunctionVarTest_EmitFunctionVariables_ArrayInitializer_Null.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 201 |
| 6 | ; Schema: 0 |
| 7 | OpCapability Shader |
| 8 | OpMemoryModel Logical Simple |
| 9 | OpEntryPoint Fragment %100 "main" |
| 10 | OpExecutionMode %100 OriginUpperLeft |
| 11 | %void = OpTypeVoid |
| 12 | %2 = OpTypeFunction %void |
| 13 | %bool = OpTypeBool |
| 14 | %float = OpTypeFloat 32 |
| 15 | %uint = OpTypeInt 32 0 |
| 16 | %int = OpTypeInt 32 1 |
| 17 | %_ptr_Function_bool = OpTypePointer Function %bool |
| 18 | %_ptr_Function_float = OpTypePointer Function %float |
| 19 | %_ptr_Function_uint = OpTypePointer Function %uint |
| 20 | %_ptr_Function_int = OpTypePointer Function %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_0 = OpConstant %uint 0 |
| 26 | %uint_1 = OpConstant %uint 1 |
| 27 | %int_n1 = OpConstant %int -1 |
| 28 | %int_0 = OpConstant %int 0 |
| 29 | %int_1 = OpConstant %int 1 |
| 30 | %int_3 = OpConstant %int 3 |
| 31 | %uint_2 = OpConstant %uint 2 |
| 32 | %uint_3 = OpConstant %uint 3 |
| 33 | %uint_4 = OpConstant %uint 4 |
| 34 | %uint_5 = OpConstant %uint 5 |
| 35 | %v2int = OpTypeVector %int 2 |
| 36 | %v2float = OpTypeVector %float 2 |
| 37 | %mat3v2float = OpTypeMatrix %v2float 3 |
| 38 | %28 = OpConstantNull %v2int |
| 39 | %_arr_uint_uint_2 = OpTypeArray %uint %uint_2 |
| 40 | %_struct_30 = OpTypeStruct %uint %float %_arr_uint_uint_2 |
| 41 | %_ptr_Function__arr_uint_uint_2 = OpTypePointer Function %_arr_uint_uint_2 |
| 42 | %uint_2_0 = OpConstant %uint 2 |
| 43 | %33 = OpConstantNull %_arr_uint_uint_2 |
| 44 | %100 = OpFunction %void None %2 |
| 45 | %34 = OpLabel |
| 46 | %200 = OpVariable %_ptr_Function__arr_uint_uint_2 Function %33 |
| 47 | OpReturn |
| 48 | OpFunctionEnd |
| 49 | |