1a41f6add299dff469a5f4b0caea517d19d69042
[platform/upstream/glslang.git] / Test / baseResults / spv.simpleFunctionCall.frag.out
1 spv.simpleFunctionCall.frag
2 WARNING: 0:4: varying deprecated in version 130; may be removed in future release
3
4
5 Linked fragment stage:
6
7
8 // Module Version 10000
9 // Generated by (magic number): 80001
10 // Id's are bound by 22
11
12                               Capability Shader
13                1:             ExtInstImport  "GLSL.std.450"
14                               MemoryModel Logical GLSL450
15                               EntryPoint Fragment 4  "main" 12 16
16                               ExecutionMode 4 OriginLowerLeft
17                               Source GLSL 150
18                               Name 4  "main"
19                               Name 9  "foo("
20                               Name 12  "BaseColor"
21                               Name 16  "gl_FragColor"
22                               Name 19  "bigColor"
23                               Name 21  "d"
24                2:             TypeVoid
25                3:             TypeFunction 2
26                6:             TypeFloat 32
27                7:             TypeVector 6(float) 4
28                8:             TypeFunction 7(fvec4)
29               11:             TypePointer Input 7(fvec4)
30    12(BaseColor):     11(ptr) Variable Input
31               15:             TypePointer Output 7(fvec4)
32 16(gl_FragColor):     15(ptr) Variable Output
33               18:             TypePointer UniformConstant 7(fvec4)
34     19(bigColor):     18(ptr) Variable UniformConstant
35               20:             TypePointer UniformConstant 6(float)
36            21(d):     20(ptr) Variable UniformConstant
37          4(main):           2 Function None 3
38                5:             Label
39               17:    7(fvec4) FunctionCall 9(foo()
40                               Store 16(gl_FragColor) 17
41                               Return
42                               FunctionEnd
43          9(foo():    7(fvec4) Function None 8
44               10:             Label
45               13:    7(fvec4) Load 12(BaseColor)
46                               ReturnValue 13
47                               FunctionEnd