David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvModuleScopeVarParserTest_Input_FlattenArray_OneLevel.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 16 |
| 6 | ; Schema: 0 |
| 7 | OpCapability Shader |
| 8 | OpMemoryModel Logical Simple |
| 9 | OpEntryPoint Vertex %3 "main" %1 %gl_Position |
| 10 | OpDecorate %1 Location 4 |
| 11 | OpDecorate %gl_Position BuiltIn Position |
| 12 | %void = OpTypeVoid |
| 13 | %5 = OpTypeFunction %void |
| 14 | %float = OpTypeFloat 32 |
| 15 | %v4float = OpTypeVector %float 4 |
| 16 | %uint = OpTypeInt 32 0 |
| 17 | %uint_0 = OpConstant %uint 0 |
| 18 | %uint_1 = OpConstant %uint 1 |
| 19 | %uint_3 = OpConstant %uint 3 |
| 20 | %_arr_float_uint_3 = OpTypeArray %float %uint_3 |
| 21 | %_ptr_Input__arr_float_uint_3 = OpTypePointer Input %_arr_float_uint_3 |
| 22 | %1 = OpVariable %_ptr_Input__arr_float_uint_3 Input |
| 23 | %_ptr_Output_v4float = OpTypePointer Output %v4float |
| 24 | %gl_Position = OpVariable %_ptr_Output_v4float Output |
| 25 | %3 = OpFunction %void None %5 |
| 26 | %15 = OpLabel |
| 27 | OpReturn |
| 28 | OpFunctionEnd |
| 29 | |