John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 1 | spv.simpleFunctionCall.frag
|
| 2 | WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
| 3 |
|
| 4 |
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 5 | Linked fragment stage:
|
| 6 |
|
| 7 |
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 8 | // Module Version 99
|
| 9 | // Generated by (magic number): 51a00bb
|
John Kessenich | e770b3e | 2015-09-14 20:58:02 -0600 | [diff] [blame^] | 10 | // Id's are bound by 22
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 11 |
|
| 12 | Source GLSL 150
|
John Kessenich | 5e4b124 | 2015-08-06 22:53:06 -0600 | [diff] [blame] | 13 | Capability Shader
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 14 | 1: ExtInstImport "GLSL.std.450"
|
| 15 | MemoryModel Logical GLSL450
|
John Kessenich | 5e4b124 | 2015-08-06 22:53:06 -0600 | [diff] [blame] | 16 | EntryPoint Fragment 4 "main"
|
| 17 | ExecutionMode 4 OriginLowerLeft
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 18 | Name 4 "main"
|
John Kessenich | e770b3e | 2015-09-14 20:58:02 -0600 | [diff] [blame^] | 19 | 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 Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 28 | 2: TypeVoid
|
John Kessenich | 5e4b124 | 2015-08-06 22:53:06 -0600 | [diff] [blame] | 29 | 3: TypeFunction 2
|
John Kessenich | e770b3e | 2015-09-14 20:58:02 -0600 | [diff] [blame^] | 30 | 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)
|
| 36 | 16(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 Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 41 | 4(main): 2 Function None 3
|
| 42 | 5: Label
|
John Kessenich | e770b3e | 2015-09-14 20:58:02 -0600 | [diff] [blame^] | 43 | 17: 7(fvec4) FunctionCall 9(foo()
|
| 44 | Store 16(gl_FragColor) 17
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 45 | Return
|
| 46 | FunctionEnd
|
John Kessenich | e770b3e | 2015-09-14 20:58:02 -0600 | [diff] [blame^] | 47 | 9(foo(): 7(fvec4) Function None 8
|
| 48 | 10: Label
|
| 49 | 13: 7(fvec4) Load 12(BaseColor)
|
| 50 | ReturnValue 13
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 51 | FunctionEnd
|