• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserTest_EmitStatement_CallWithParams.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 101
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "x_100"
10OpExecutionMode %100 OriginUpperLeft
11%void = OpTypeVoid
12%3 = OpTypeFunction %void
13%uint = OpTypeInt 32 0
14%5 = OpTypeFunction %uint %uint %uint
15%uint_42 = OpConstant %uint 42
16%uint_84 = OpConstant %uint 84
17%50 = OpFunction %uint None %5
18%51 = OpFunctionParameter %uint
19%52 = OpFunctionParameter %uint
20%8 = OpLabel
21%9 = OpIAdd %uint %51 %52
22OpReturnValue %9
23OpFunctionEnd
24%100 = OpFunction %void None %3
25%10 = OpLabel
26%1 = OpFunctionCall %uint %50 %uint_42 %uint_84
27OpReturn
28OpFunctionEnd
29
30