blob: a8b194b652736d945d57b0a732cbaf69aedb5610 [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 Kessenich55e7d112015-11-15 21:33:39 -07008// Module Version 10000
9// Generated by (magic number): 80001
John Kesseniche770b3e2015-09-14 20:58:02 -060010// Id's are bound by 22
John Kessenich39374da2015-05-15 21:32:46 +000011
John Kessenich5e4b1242015-08-06 22:53:06 -060012 Capability Shader
John Kessenich39374da2015-05-15 21:32:46 +000013 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
John Kessenich55e7d112015-11-15 21:33:39 -070015 EntryPoint Fragment 4 "main" 12
John Kessenich5e4b1242015-08-06 22:53:06 -060016 ExecutionMode 4 OriginLowerLeft
John Kessenich55e7d112015-11-15 21:33:39 -070017 Source GLSL 150
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"
John Kessenich39374da2015-05-15 21:32:46 +000024 2: TypeVoid
John Kessenich5e4b1242015-08-06 22:53:06 -060025 3: TypeFunction 2
John Kesseniche770b3e2015-09-14 20:58:02 -060026 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)
3216(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
John Kessenich39374da2015-05-15 21:32:46 +000037 4(main): 2 Function None 3
38 5: Label
John Kesseniche770b3e2015-09-14 20:58:02 -060039 17: 7(fvec4) FunctionCall 9(foo()
40 Store 16(gl_FragColor) 17
John Kessenich39374da2015-05-15 21:32:46 +000041 Return
42 FunctionEnd
John Kesseniche770b3e2015-09-14 20:58:02 -060043 9(foo(): 7(fvec4) Function None 8
44 10: Label
45 13: 7(fvec4) Load 12(BaseColor)
46 ReturnValue 13
John Kessenich39374da2015-05-15 21:32:46 +000047 FunctionEnd