John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.430.vert |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | 3641ff7 | 2020-06-10 07:38:31 -0600 | [diff] [blame] | 3 | // Generated by (magic number): 80009 |
John Kessenich | 0967748 | 2016-02-19 12:21:50 -0700 | [diff] [blame] | 4 | // Id's are bound by 66 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
David Neto | a901ffe | 2016-06-08 14:11:40 +0100 | [diff] [blame] | 7 | Capability ClipDistance |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 8 | 1: ExtInstImport "GLSL.std.450" |
| 9 | MemoryModel Logical GLSL450 |
John Kessenich | 0967748 | 2016-02-19 12:21:50 -0700 | [diff] [blame] | 10 | EntryPoint Vertex 4 "main" 12 23 34 38 41 42 62 65 |
| 11 | Source GLSL 450 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 12 | Name 4 "main" |
| 13 | Name 10 "gl_PerVertex" |
| 14 | MemberName 10(gl_PerVertex) 0 "gl_ClipDistance" |
| 15 | Name 12 "" |
| 16 | Name 23 "bad" |
| 17 | Name 34 "badorder3" |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 18 | Name 38 "f" |
| 19 | Name 41 "badorder" |
| 20 | Name 42 "badorder2" |
| 21 | Name 43 "boundblock" |
| 22 | MemberName 43(boundblock) 0 "aoeu" |
| 23 | Name 45 "boundInst" |
| 24 | Name 46 "anonblock" |
| 25 | MemberName 46(anonblock) 0 "aoeu" |
| 26 | Name 48 "" |
| 27 | Name 52 "sampb1" |
| 28 | Name 55 "sampb2" |
| 29 | Name 56 "sampb4" |
| 30 | Name 59 "S" |
| 31 | MemberName 59(S) 0 "a" |
| 32 | MemberName 59(S) 1 "b" |
| 33 | MemberName 59(S) 2 "c" |
| 34 | Name 60 "SS" |
| 35 | MemberName 60(SS) 0 "b" |
| 36 | MemberName 60(SS) 1 "s" |
| 37 | MemberName 60(SS) 2 "c" |
| 38 | Name 62 "var" |
John Kessenich | 0967748 | 2016-02-19 12:21:50 -0700 | [diff] [blame] | 39 | Name 63 "MS" |
| 40 | MemberName 63(MS) 0 "f" |
| 41 | Name 65 "outMS" |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 42 | MemberDecorate 10(gl_PerVertex) 0 BuiltIn ClipDistance |
| 43 | Decorate 10(gl_PerVertex) Block |
| 44 | Decorate 34(badorder3) Flat |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 45 | Decorate 42(badorder2) Invariant |
| 46 | MemberDecorate 43(boundblock) 0 Offset 0 |
| 47 | Decorate 43(boundblock) Block |
| 48 | Decorate 45(boundInst) DescriptorSet 0 |
| 49 | Decorate 45(boundInst) Binding 3 |
| 50 | MemberDecorate 46(anonblock) 0 Offset 0 |
| 51 | Decorate 46(anonblock) Block |
| 52 | Decorate 48 DescriptorSet 0 |
| 53 | Decorate 48 Binding 7 |
| 54 | Decorate 52(sampb1) DescriptorSet 0 |
| 55 | Decorate 52(sampb1) Binding 4 |
| 56 | Decorate 55(sampb2) DescriptorSet 0 |
| 57 | Decorate 55(sampb2) Binding 5 |
| 58 | Decorate 56(sampb4) DescriptorSet 0 |
| 59 | Decorate 56(sampb4) Binding 31 |
John Kessenich | 54571c2 | 2016-08-03 16:41:53 -0600 | [diff] [blame] | 60 | MemberDecorate 59(S) 0 RelaxedPrecision |
Rex Xu | c884b4a | 2016-06-29 15:03:44 +0800 | [diff] [blame] | 61 | Decorate 62(var) Flat |
scygan | 2c86427 | 2016-05-18 18:09:17 +0200 | [diff] [blame] | 62 | Decorate 62(var) Location 0 |
John Kessenich | 0967748 | 2016-02-19 12:21:50 -0700 | [diff] [blame] | 63 | MemberDecorate 63(MS) 0 Location 17 |
| 64 | Decorate 63(MS) Block |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 65 | 2: TypeVoid |
| 66 | 3: TypeFunction 2 |
| 67 | 6: TypeFloat 32 |
| 68 | 7: TypeInt 32 0 |
| 69 | 8: 7(int) Constant 3 |
| 70 | 9: TypeArray 6(float) 8 |
| 71 | 10(gl_PerVertex): TypeStruct 9 |
| 72 | 11: TypePointer Output 10(gl_PerVertex) |
| 73 | 12: 11(ptr) Variable Output |
| 74 | 13: TypeInt 32 1 |
| 75 | 14: 13(int) Constant 0 |
| 76 | 15: 13(int) Constant 2 |
| 77 | 16: 6(float) Constant 1080872141 |
| 78 | 17: TypePointer Output 6(float) |
| 79 | 19: TypeVector 6(float) 4 |
| 80 | 20: 7(int) Constant 10 |
| 81 | 21: TypeArray 19(fvec4) 20 |
| 82 | 22: TypePointer Input 21 |
| 83 | 23(bad): 22(ptr) Variable Input |
| 84 | 24: 7(int) Constant 0 |
| 85 | 25: TypePointer Input 6(float) |
| 86 | 28: 6(float) Constant 1082549862 |
| 87 | 29: TypeBool |
| 88 | 33: TypePointer Output 19(fvec4) |
| 89 | 34(badorder3): 33(ptr) Variable Output |
| 90 | 35: TypePointer Input 19(fvec4) |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 91 | 38(f): 25(ptr) Variable Input |
| 92 | 41(badorder): 35(ptr) Variable Input |
| 93 | 42(badorder2): 33(ptr) Variable Output |
| 94 | 43(boundblock): TypeStruct 13(int) |
| 95 | 44: TypePointer Uniform 43(boundblock) |
| 96 | 45(boundInst): 44(ptr) Variable Uniform |
| 97 | 46(anonblock): TypeStruct 13(int) |
| 98 | 47: TypePointer Uniform 46(anonblock) |
| 99 | 48: 47(ptr) Variable Uniform |
| 100 | 49: TypeImage 6(float) 2D sampled format:Unknown |
| 101 | 50: TypeSampledImage 49 |
| 102 | 51: TypePointer UniformConstant 50 |
| 103 | 52(sampb1): 51(ptr) Variable UniformConstant |
| 104 | 53: TypeArray 50 20 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 105 | 54: TypePointer UniformConstant 53 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 106 | 55(sampb2): 54(ptr) Variable UniformConstant |
| 107 | 56(sampb4): 51(ptr) Variable UniformConstant |
| 108 | 57: TypeVector 7(int) 2 |
| 109 | 58: TypeVector 6(float) 3 |
| 110 | 59(S): TypeStruct 6(float) 57(ivec2) 58(fvec3) |
| 111 | 60(SS): TypeStruct 19(fvec4) 59(S) 19(fvec4) |
| 112 | 61: TypePointer Output 60(SS) |
| 113 | 62(var): 61(ptr) Variable Output |
John Kessenich | 0967748 | 2016-02-19 12:21:50 -0700 | [diff] [blame] | 114 | 63(MS): TypeStruct 6(float) |
| 115 | 64: TypePointer Output 63(MS) |
| 116 | 65(outMS): 64(ptr) Variable Output |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 117 | 4(main): 2 Function None 3 |
| 118 | 5: Label |
| 119 | 18: 17(ptr) AccessChain 12 14 15 |
| 120 | Store 18 16 |
| 121 | 26: 25(ptr) AccessChain 23(bad) 14 24 |
| 122 | 27: 6(float) Load 26 |
| 123 | 30: 29(bool) FOrdEqual 27 28 |
| 124 | SelectionMerge 32 None |
| 125 | BranchConditional 30 31 32 |
| 126 | 31: Label |
| 127 | 36: 35(ptr) AccessChain 23(bad) 14 |
| 128 | 37: 19(fvec4) Load 36 |
| 129 | Store 34(badorder3) 37 |
| 130 | Branch 32 |
| 131 | 32: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 132 | 39: 6(float) Load 38(f) |
| 133 | 40: 17(ptr) AccessChain 12 14 14 |
| 134 | Store 40 39 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 135 | Return |
| 136 | FunctionEnd |