David Neto | d1a026e | 2021-07-30 16:03:06 +0000 | [diff] [blame] | 1 | ; Test: SpvParserTest_EmitFunctions_VoidFunctionWithoutParams.spvasm |
| 2 | ; SPIR-V |
| 3 | ; Version: 1.0 |
| 4 | ; Generator: Khronos SPIR-V Tools Assembler; 0 |
| 5 | ; Bound: 10 |
| 6 | ; Schema: 0 |
| 7 | OpCapability Shader |
| 8 | OpMemoryModel Logical Simple |
| 9 | OpEntryPoint Fragment %1 "x_100" |
| 10 | OpExecutionMode %1 OriginUpperLeft |
| 11 | OpName %another_function "another_function" |
| 12 | %void = OpTypeVoid |
| 13 | %4 = OpTypeFunction %void |
| 14 | %float = OpTypeFloat 32 |
| 15 | %uint = OpTypeInt 32 0 |
| 16 | %int = OpTypeInt 32 1 |
| 17 | %another_function = OpFunction %void None %4 |
| 18 | %8 = OpLabel |
| 19 | OpReturn |
| 20 | OpFunctionEnd |
| 21 | %1 = OpFunction %void None %4 |
| 22 | %9 = OpLabel |
| 23 | OpReturn |
| 24 | OpFunctionEnd |
| 25 | |