David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvParserTest_Composite_Construct_Matrix.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 GLCompute %100 "main" |
| 10 | OpExecutionMode %100 LocalSize 1 1 1 |
| 11 | %void = OpTypeVoid |
| 12 | %3 = OpTypeFunction %void |
| 13 | %uint = OpTypeInt 32 0 |
| 14 | %int = OpTypeInt 32 1 |
| 15 | %float = OpTypeFloat 32 |
| 16 | %uint_10 = OpConstant %uint 10 |
| 17 | %uint_20 = OpConstant %uint 20 |
| 18 | %uint_3 = OpConstant %uint 3 |
| 19 | %uint_4 = OpConstant %uint 4 |
| 20 | %uint_5 = OpConstant %uint 5 |
| 21 | %int_1 = OpConstant %int 1 |
| 22 | %int_30 = OpConstant %int 30 |
| 23 | %int_40 = OpConstant %int 40 |
| 24 | %float_50 = OpConstant %float 50 |
| 25 | %float_60 = OpConstant %float 60 |
| 26 | %float_70 = OpConstant %float 70 |
| 27 | %v2uint = OpTypeVector %uint 2 |
| 28 | %v3uint = OpTypeVector %uint 3 |
| 29 | %v4uint = OpTypeVector %uint 4 |
| 30 | %v2int = OpTypeVector %int 2 |
| 31 | %v2float = OpTypeVector %float 2 |
| 32 | %mat3v2float = OpTypeMatrix %v2float 3 |
| 33 | %24 = OpConstantNull %mat3v2float |
| 34 | %_struct_25 = OpTypeStruct %v2float %uint %int |
| 35 | %_arr_uint_uint_5 = OpTypeArray %uint %uint_5 |
| 36 | %27 = OpConstantComposite %v2uint %uint_3 %uint_4 |
| 37 | %28 = OpConstantComposite %v2uint %uint_4 %uint_3 |
| 38 | %29 = OpConstantComposite %v2float %float_50 %float_60 |
| 39 | %30 = OpConstantComposite %v2float %float_60 %float_50 |
| 40 | %31 = OpConstantComposite %v2float %float_70 %float_70 |
| 41 | %100 = OpFunction %void None %3 |
| 42 | %32 = OpLabel |
| 43 | %1 = OpCompositeConstruct %mat3v2float %29 %30 %31 |
| 44 | OpReturn |
| 45 | OpFunctionEnd |
| 46 | |