John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 1 | spv.noBuiltInLoc.vert |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | 71b5da6 | 2018-02-06 08:06:36 -0700 | [diff] [blame^] | 3 | // Generated by (magic number): 80004 |
John Kessenich | 82e95a3 | 2017-08-26 15:47:25 -0600 | [diff] [blame] | 4 | // Id's are bound by 33 |
John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 82e95a3 | 2017-08-26 15:47:25 -0600 | [diff] [blame] | 9 | EntryPoint Vertex 4 "main" 9 11 18 31 32 |
John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 10 | Source GLSL 450 |
| 11 | Name 4 "main" |
| 12 | Name 9 "bar" |
| 13 | Name 11 "foo" |
| 14 | Name 16 "gl_PerVertex" |
| 15 | MemberName 16(gl_PerVertex) 0 "gl_Position" |
| 16 | MemberName 16(gl_PerVertex) 1 "gl_PointSize" |
| 17 | MemberName 16(gl_PerVertex) 2 "gl_ClipDistance" |
| 18 | MemberName 16(gl_PerVertex) 3 "gl_CullDistance" |
| 19 | Name 18 "" |
John Kessenich | 82e95a3 | 2017-08-26 15:47:25 -0600 | [diff] [blame] | 20 | Name 24 "uv1" |
| 21 | Name 26 "uv2" |
| 22 | Name 29 "uv3" |
| 23 | Name 31 "gl_VertexID" |
| 24 | Name 32 "gl_InstanceID" |
John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 25 | Decorate 9(bar) Location 0 |
| 26 | Decorate 11(foo) Location 0 |
| 27 | MemberDecorate 16(gl_PerVertex) 0 BuiltIn Position |
| 28 | MemberDecorate 16(gl_PerVertex) 1 BuiltIn PointSize |
| 29 | MemberDecorate 16(gl_PerVertex) 2 BuiltIn ClipDistance |
| 30 | MemberDecorate 16(gl_PerVertex) 3 BuiltIn CullDistance |
| 31 | Decorate 16(gl_PerVertex) Block |
John Kessenich | 82e95a3 | 2017-08-26 15:47:25 -0600 | [diff] [blame] | 32 | Decorate 24(uv1) Location 0 |
| 33 | Decorate 24(uv1) DescriptorSet 0 |
| 34 | Decorate 26(uv2) Location 1 |
| 35 | Decorate 26(uv2) DescriptorSet 0 |
| 36 | Decorate 29(uv3) Location 2 |
| 37 | Decorate 29(uv3) DescriptorSet 0 |
| 38 | Decorate 31(gl_VertexID) BuiltIn VertexId |
| 39 | Decorate 32(gl_InstanceID) BuiltIn InstanceId |
John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 40 | 2: TypeVoid |
| 41 | 3: TypeFunction 2 |
| 42 | 6: TypeFloat 32 |
| 43 | 7: TypeVector 6(float) 4 |
| 44 | 8: TypePointer Output 7(fvec4) |
| 45 | 9(bar): 8(ptr) Variable Output |
| 46 | 10: TypePointer Input 7(fvec4) |
| 47 | 11(foo): 10(ptr) Variable Input |
| 48 | 13: TypeInt 32 0 |
| 49 | 14: 13(int) Constant 1 |
| 50 | 15: TypeArray 6(float) 14 |
| 51 | 16(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 15 15 |
| 52 | 17: TypePointer Output 16(gl_PerVertex) |
| 53 | 18: 17(ptr) Variable Output |
| 54 | 19: TypeInt 32 1 |
| 55 | 20: 19(int) Constant 0 |
John Kessenich | 82e95a3 | 2017-08-26 15:47:25 -0600 | [diff] [blame] | 56 | 23: TypePointer UniformConstant 7(fvec4) |
| 57 | 24(uv1): 23(ptr) Variable UniformConstant |
| 58 | 25: TypePointer UniformConstant 6(float) |
| 59 | 26(uv2): 25(ptr) Variable UniformConstant |
| 60 | 27: TypeVector 6(float) 3 |
| 61 | 28: TypePointer UniformConstant 27(fvec3) |
| 62 | 29(uv3): 28(ptr) Variable UniformConstant |
| 63 | 30: TypePointer Input 19(int) |
| 64 | 31(gl_VertexID): 30(ptr) Variable Input |
| 65 | 32(gl_InstanceID): 30(ptr) Variable Input |
John Kessenich | 91e69c0 | 2017-07-14 05:52:31 -0600 | [diff] [blame] | 66 | 4(main): 2 Function None 3 |
| 67 | 5: Label |
| 68 | 12: 7(fvec4) Load 11(foo) |
| 69 | Store 9(bar) 12 |
| 70 | 21: 7(fvec4) Load 11(foo) |
| 71 | 22: 8(ptr) AccessChain 18 20 |
| 72 | Store 22 21 |
| 73 | Return |
| 74 | FunctionEnd |