Debian Codegraph @

test/diff/diff_files/different_function_parameter_count_dst.spvasm

raw
1 ; SPIR-V
2 ; Version: 1.0
3 ; Generator: Khronos Glslang Reference Front End; 10
4 ; Bound: 28
5 ; Schema: 0
6 OpCapability Shader
7 %1 = OpExtInstImport "GLSL.std.450"
8 OpMemoryModel Logical GLSL450
9 OpEntryPoint Fragment %4 "main" %20
10 OpExecutionMode %4 OriginUpperLeft
11 OpSource ESSL 320
12 OpName %4 "main"
13 OpName %12 "f(vf2;vf2;"
14 OpName %10 "v"
15 OpName %11 "v2"
16 OpName %20 "o"
17 OpName %25 "param"
18 OpName %26 "param"
19 OpDecorate %20 RelaxedPrecision
20 OpDecorate %20 Location 0
21 %2 = OpTypeVoid
22 %3 = OpTypeFunction %2
23 %6 = OpTypeFloat 32
24 %7 = OpTypeVector %6 2
25 %8 = OpTypePointer Function %7
26 %9 = OpTypeFunction %7 %8 %8
27 %19 = OpTypePointer Output %7
28 %20 = OpVariable %19 Output
29 %21 = OpConstant %6 0
30 %22 = OpConstantComposite %7 %21 %21
31 %23 = OpConstant %6 0.5
32 %24 = OpConstantComposite %7 %23 %23
33 %4 = OpFunction %2 None %3
34 %5 = OpLabel
35 %25 = OpVariable %8 Function
36 %26 = OpVariable %8 Function
37 OpStore %25 %22
38 OpStore %26 %24
39 %27 = OpFunctionCall %7 %12 %25 %26
40 OpStore %20 %27
41 OpReturn
42 OpFunctionEnd
43 %12 = OpFunction %7 None %9
44 %10 = OpFunctionParameter %8
45 %11 = OpFunctionParameter %8
46 %13 = OpLabel
47 %14 = OpLoad %7 %10
48 %15 = OpLoad %7 %11
49 %16 = OpFAdd %7 %14 %15
50 OpReturnValue %16
51 OpFunctionEnd
52