John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.test.vert |
| 2 | WARNING: 0:5: attribute deprecated in version 130; may be removed in future release |
| 3 | |
| 4 | |
| 5 | Linked vertex stage: |
| 6 | |
| 7 | |
| 8 | // Module Version 10000 |
| 9 | // Generated by (magic number): 80001 |
| 10 | // Id's are bound by 27 |
| 11 | |
| 12 | Capability Shader |
| 13 | 1: ExtInstImport "GLSL.std.450" |
| 14 | MemoryModel Logical GLSL450 |
| 15 | EntryPoint Vertex 4 "main" 21 11 9 26 |
| 16 | Source GLSL 130 |
| 17 | Name 4 "main" |
| 18 | Name 9 "uv" |
| 19 | Name 11 "uv_in" |
| 20 | Name 15 "gl_Position" |
| 21 | Name 18 "transform" |
| 22 | Name 21 "position" |
| 23 | Name 26 "gl_VertexID" |
| 24 | Decorate 15(gl_Position) BuiltIn Position |
| 25 | Decorate 26(gl_VertexID) BuiltIn VertexId |
| 26 | 2: TypeVoid |
| 27 | 3: TypeFunction 2 |
| 28 | 6: TypeFloat 32 |
| 29 | 7: TypeVector 6(float) 2 |
| 30 | 8: TypePointer Output 7(fvec2) |
| 31 | 9(uv): 8(ptr) Variable Output |
| 32 | 10: TypePointer Input 7(fvec2) |
| 33 | 11(uv_in): 10(ptr) Variable Input |
| 34 | 13: TypeVector 6(float) 4 |
| 35 | 14: TypePointer Output 13(fvec4) |
| 36 | 15(gl_Position): 14(ptr) Variable Output |
| 37 | 16: TypeMatrix 13(fvec4) 4 |
| 38 | 17: TypePointer UniformConstant 16 |
| 39 | 18(transform): 17(ptr) Variable UniformConstant |
| 40 | 20: TypePointer Input 13(fvec4) |
| 41 | 21(position): 20(ptr) Variable Input |
| 42 | 24: TypeInt 32 1 |
| 43 | 25: TypePointer Input 24(int) |
| 44 | 26(gl_VertexID): 25(ptr) Variable Input |
| 45 | 4(main): 2 Function None 3 |
| 46 | 5: Label |
| 47 | 12: 7(fvec2) Load 11(uv_in) |
| 48 | Store 9(uv) 12 |
| 49 | 19: 16 Load 18(transform) |
| 50 | 22: 13(fvec4) Load 21(position) |
| 51 | 23: 13(fvec4) MatrixTimesVector 19 22 |
| 52 | Store 15(gl_Position) 23 |
| 53 | Return |
| 54 | FunctionEnd |