blob: 3c04142df77d6d506b73e55a9eb665b826106fbc [file] [log] [blame]
John Kessenich39374da2015-05-15 21:32:46 +00001spv.simpleFunctionCall.frag
2WARNING: 0:4: varying deprecated in version 130; may be removed in future release
3
4
John Kessenich39374da2015-05-15 21:32:46 +00005Linked fragment stage:
6
7
John Kessenich39374da2015-05-15 21:32:46 +00008// Module Version 99
9// Generated by (magic number): 51a00bb
John Kesseniche770b3e2015-09-14 20:58:02 -060010// Id's are bound by 22
John Kessenich39374da2015-05-15 21:32:46 +000011
12 Source GLSL 150
John Kessenich5e4b1242015-08-06 22:53:06 -060013 Capability Shader
John Kessenich39374da2015-05-15 21:32:46 +000014 1: ExtInstImport "GLSL.std.450"
15 MemoryModel Logical GLSL450
John Kessenich5e4b1242015-08-06 22:53:06 -060016 EntryPoint Fragment 4 "main"
17 ExecutionMode 4 OriginLowerLeft
John Kessenich39374da2015-05-15 21:32:46 +000018 Name 4 "main"
John Kesseniche770b3e2015-09-14 20:58:02 -060019 Name 9 "foo("
20 Name 12 "BaseColor"
21 Name 16 "gl_FragColor"
22 Name 19 "bigColor"
23 Name 21 "d"
24 Decorate 12(BaseColor) Smooth
25 Decorate 16(gl_FragColor) BuiltIn FragColor
26 Decorate 19(bigColor) NoStaticUse
27 Decorate 21(d) NoStaticUse
John Kessenich39374da2015-05-15 21:32:46 +000028 2: TypeVoid
John Kessenich5e4b1242015-08-06 22:53:06 -060029 3: TypeFunction 2
John Kesseniche770b3e2015-09-14 20:58:02 -060030 6: TypeFloat 32
31 7: TypeVector 6(float) 4
32 8: TypeFunction 7(fvec4)
33 11: TypePointer Input 7(fvec4)
34 12(BaseColor): 11(ptr) Variable Input
35 15: TypePointer Output 7(fvec4)
3616(gl_FragColor): 15(ptr) Variable Output
37 18: TypePointer UniformConstant 7(fvec4)
38 19(bigColor): 18(ptr) Variable UniformConstant
39 20: TypePointer UniformConstant 6(float)
40 21(d): 20(ptr) Variable UniformConstant
John Kessenich39374da2015-05-15 21:32:46 +000041 4(main): 2 Function None 3
42 5: Label
John Kesseniche770b3e2015-09-14 20:58:02 -060043 17: 7(fvec4) FunctionCall 9(foo()
44 Store 16(gl_FragColor) 17
John Kessenich39374da2015-05-15 21:32:46 +000045 Return
46 FunctionEnd
John Kesseniche770b3e2015-09-14 20:58:02 -060047 9(foo(): 7(fvec4) Function None 8
48 10: Label
49 13: 7(fvec4) Load 12(BaseColor)
50 ReturnValue 13
John Kessenich39374da2015-05-15 21:32:46 +000051 FunctionEnd