John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.300BuiltIns.vert |
| 2 | |
| 3 | Linked vertex stage: |
| 4 | |
| 5 | |
| 6 | // Module Version 10000 |
| 7 | // Generated by (magic number): 80001 |
| 8 | // Id's are bound by 40 |
| 9 | |
| 10 | Capability Shader |
| 11 | 1: ExtInstImport "GLSL.std.450" |
| 12 | MemoryModel Logical GLSL450 |
| 13 | EntryPoint Vertex 4 "main" 25 11 39 |
| 14 | Source ESSL 300 |
| 15 | Name 4 "main" |
| 16 | Name 8 "i" |
| 17 | Name 11 "gl_VertexID" |
| 18 | Name 16 "j" |
| 19 | Name 23 "gl_Position" |
| 20 | Name 25 "ps" |
| 21 | Name 33 "gl_PointSize" |
| 22 | Name 39 "gl_InstanceID" |
| 23 | Decorate 8(i) RelaxedPrecision |
| 24 | Decorate 11(gl_VertexID) BuiltIn VertexId |
| 25 | Decorate 16(j) RelaxedPrecision |
| 26 | Decorate 23(gl_Position) Invariant |
| 27 | Decorate 23(gl_Position) BuiltIn Position |
| 28 | Decorate 25(ps) RelaxedPrecision |
| 29 | Decorate 33(gl_PointSize) BuiltIn PointSize |
| 30 | Decorate 39(gl_InstanceID) BuiltIn InstanceId |
| 31 | 2: TypeVoid |
| 32 | 3: TypeFunction 2 |
| 33 | 6: TypeInt 32 1 |
| 34 | 7: TypePointer Function 6(int) |
| 35 | 9: 6(int) Constant 4 |
| 36 | 10: TypePointer Input 6(int) |
| 37 | 11(gl_VertexID): 10(ptr) Variable Input |
| 38 | 14: 6(int) Constant 10 |
| 39 | 20: TypeFloat 32 |
| 40 | 21: TypeVector 20(float) 4 |
| 41 | 22: TypePointer Output 21(fvec4) |
| 42 | 23(gl_Position): 22(ptr) Variable Output |
| 43 | 24: TypePointer Input 20(float) |
| 44 | 25(ps): 24(ptr) Variable Input |
| 45 | 32: TypePointer Output 20(float) |
| 46 | 33(gl_PointSize): 32(ptr) Variable Output |
| 47 | 39(gl_InstanceID): 10(ptr) Variable Input |
| 48 | 4(main): 2 Function None 3 |
| 49 | 5: Label |
| 50 | 8(i): 7(ptr) Variable Function |
| 51 | 16(j): 7(ptr) Variable Function |
| 52 | 12: 6(int) Load 11(gl_VertexID) |
| 53 | 13: 6(int) IMul 9 12 |
| 54 | 15: 6(int) ISub 13 14 |
| 55 | Store 8(i) 15 |
| 56 | 17: 6(int) Load 11(gl_VertexID) |
| 57 | 18: 6(int) IMul 9 17 |
| 58 | 19: 6(int) ISub 18 14 |
| 59 | Store 16(j) 19 |
| 60 | 26: 20(float) Load 25(ps) |
| 61 | 27: 21(fvec4) CompositeConstruct 26 26 26 26 |
| 62 | Store 23(gl_Position) 27 |
| 63 | 28: 6(int) Load 8(i) |
| 64 | 29: 20(float) ConvertSToF 28 |
| 65 | 30: 21(fvec4) Load 23(gl_Position) |
| 66 | 31: 21(fvec4) VectorTimesScalar 30 29 |
| 67 | Store 23(gl_Position) 31 |
| 68 | 34: 20(float) Load 25(ps) |
| 69 | Store 33(gl_PointSize) 34 |
| 70 | 35: 6(int) Load 16(j) |
| 71 | 36: 20(float) ConvertSToF 35 |
| 72 | 37: 20(float) Load 33(gl_PointSize) |
| 73 | 38: 20(float) FMul 37 36 |
| 74 | Store 33(gl_PointSize) 38 |
| 75 | Return |
| 76 | FunctionEnd |