David Neto | 231b50b | 2021-09-27 20:55:53 +0000 | [diff] [blame] | 1 | ; Test: SpvParserTest_Composite_Construct_ConstantComposite_Struct_NoDeduplication.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 302 |
| 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 | %4 = 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 | %25 = OpConstantNull %mat3v2float |
| 34 | %_struct_26 = OpTypeStruct %v2float %uint %int |
| 35 | %_arr_uint_uint_5 = OpTypeArray %uint %uint_5 |
| 36 | %28 = OpConstantComposite %v2uint %uint_3 %uint_4 |
| 37 | %29 = OpConstantComposite %v2uint %uint_4 %uint_3 |
| 38 | %30 = OpConstantComposite %v2float %float_50 %float_60 |
| 39 | %31 = OpConstantComposite %v2float %float_60 %float_50 |
| 40 | %32 = OpConstantComposite %v2float %float_70 %float_70 |
| 41 | %_struct_200 = OpTypeStruct %uint |
| 42 | %_struct_300 = OpTypeStruct %uint |
| 43 | %201 = OpConstantComposite %_struct_200 %uint_10 |
| 44 | %301 = OpConstantComposite %_struct_300 %uint_10 |
| 45 | %100 = OpFunction %void None %4 |
| 46 | %33 = OpLabel |
| 47 | %2 = OpCopyObject %_struct_200 %201 |
| 48 | %3 = OpCopyObject %_struct_300 %301 |
| 49 | OpReturn |
| 50 | OpFunctionEnd |
| 51 | |