John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.texture.vert |
| 2 | |
| 3 | Linked vertex stage: |
| 4 | |
| 5 | |
| 6 | // Module Version 10000 |
| 7 | // Generated by (magic number): 80001 |
| 8 | // Id's are bound by 145 |
| 9 | |
| 10 | Capability Shader |
| 11 | 1: ExtInstImport "GLSL.std.450" |
| 12 | MemoryModel Logical GLSL450 |
| 13 | EntryPoint Vertex 4 "main" 39 144 |
| 14 | Source GLSL 130 |
| 15 | Name 4 "main" |
| 16 | Name 8 "lod" |
| 17 | Name 10 "coords1D" |
| 18 | Name 14 "coords3D" |
| 19 | Name 20 "coords4D" |
| 20 | Name 23 "color" |
| 21 | Name 29 "texSampler1D" |
| 22 | Name 39 "coords2D" |
| 23 | Name 54 "texSampler2D" |
| 24 | Name 76 "texSampler3D" |
| 25 | Name 92 "texSamplerCube" |
| 26 | Name 102 "shadowSampler1D" |
| 27 | Name 114 "shadowSampler2D" |
| 28 | Name 140 "gl_Position" |
| 29 | Name 144 "gl_VertexID" |
| 30 | Decorate 140(gl_Position) BuiltIn Position |
| 31 | Decorate 144(gl_VertexID) BuiltIn VertexId |
| 32 | 2: TypeVoid |
| 33 | 3: TypeFunction 2 |
| 34 | 6: TypeFloat 32 |
| 35 | 7: TypePointer Function 6(float) |
| 36 | 9: 6(float) Constant 1077936128 |
| 37 | 11: 6(float) Constant 1071971828 |
| 38 | 12: TypeVector 6(float) 3 |
| 39 | 13: TypePointer Function 12(fvec3) |
| 40 | 15: 6(float) Constant 1076753334 |
| 41 | 16: 6(float) Constant 1079836148 |
| 42 | 17: 12(fvec3) ConstantComposite 11 15 16 |
| 43 | 18: TypeVector 6(float) 4 |
| 44 | 19: TypePointer Function 18(fvec4) |
| 45 | 21: 6(float) Constant 1073741824 |
| 46 | 22: 18(fvec4) ConstantComposite 11 15 16 21 |
| 47 | 24: 6(float) Constant 0 |
| 48 | 25: 18(fvec4) ConstantComposite 24 24 24 24 |
| 49 | 26: TypeImage 6(float) 1D sampled format:Unknown |
| 50 | 27: TypeSampledImage 26 |
| 51 | 28: TypePointer UniformConstant 27 |
| 52 | 29(texSampler1D): 28(ptr) Variable UniformConstant |
| 53 | 37: TypeVector 6(float) 2 |
| 54 | 38: TypePointer Input 37(fvec2) |
| 55 | 39(coords2D): 38(ptr) Variable Input |
| 56 | 51: TypeImage 6(float) 2D sampled format:Unknown |
| 57 | 52: TypeSampledImage 51 |
| 58 | 53: TypePointer UniformConstant 52 |
| 59 | 54(texSampler2D): 53(ptr) Variable UniformConstant |
| 60 | 73: TypeImage 6(float) 3D sampled format:Unknown |
| 61 | 74: TypeSampledImage 73 |
| 62 | 75: TypePointer UniformConstant 74 |
| 63 | 76(texSampler3D): 75(ptr) Variable UniformConstant |
| 64 | 89: TypeImage 6(float) Cube sampled format:Unknown |
| 65 | 90: TypeSampledImage 89 |
| 66 | 91: TypePointer UniformConstant 90 |
| 67 | 92(texSamplerCube): 91(ptr) Variable UniformConstant |
| 68 | 99: TypeImage 6(float) 1D depth sampled format:Unknown |
| 69 | 100: TypeSampledImage 99 |
| 70 | 101: TypePointer UniformConstant 100 |
| 71 | 102(shadowSampler1D): 101(ptr) Variable UniformConstant |
| 72 | 111: TypeImage 6(float) 2D depth sampled format:Unknown |
| 73 | 112: TypeSampledImage 111 |
| 74 | 113: TypePointer UniformConstant 112 |
| 75 | 114(shadowSampler2D): 113(ptr) Variable UniformConstant |
| 76 | 139: TypePointer Output 18(fvec4) |
| 77 | 140(gl_Position): 139(ptr) Variable Output |
| 78 | 142: TypeInt 32 1 |
| 79 | 143: TypePointer Input 142(int) |
| 80 | 144(gl_VertexID): 143(ptr) Variable Input |
| 81 | 4(main): 2 Function None 3 |
| 82 | 5: Label |
| 83 | 8(lod): 7(ptr) Variable Function |
| 84 | 10(coords1D): 7(ptr) Variable Function |
| 85 | 14(coords3D): 13(ptr) Variable Function |
| 86 | 20(coords4D): 19(ptr) Variable Function |
| 87 | 23(color): 19(ptr) Variable Function |
| 88 | Store 8(lod) 9 |
| 89 | Store 10(coords1D) 11 |
| 90 | Store 14(coords3D) 17 |
| 91 | Store 20(coords4D) 22 |
| 92 | Store 23(color) 25 |
| 93 | 30: 27 Load 29(texSampler1D) |
| 94 | 31: 6(float) Load 10(coords1D) |
| 95 | 32: 6(float) Load 8(lod) |
| 96 | 33: 18(fvec4) ImageSampleExplicitLod 30 31 Lod 32 |
| 97 | 34: 18(fvec4) Load 23(color) |
| 98 | 35: 18(fvec4) FAdd 34 33 |
| 99 | Store 23(color) 35 |
| 100 | 36: 27 Load 29(texSampler1D) |
| 101 | 40: 37(fvec2) Load 39(coords2D) |
| 102 | 41: 6(float) Load 8(lod) |
| 103 | 42: 18(fvec4) ImageSampleProjExplicitLod 36 40 Lod 41 |
| 104 | 43: 18(fvec4) Load 23(color) |
| 105 | 44: 18(fvec4) FAdd 43 42 |
| 106 | Store 23(color) 44 |
| 107 | 45: 27 Load 29(texSampler1D) |
| 108 | 46: 18(fvec4) Load 20(coords4D) |
| 109 | 47: 6(float) Load 8(lod) |
| 110 | 48: 18(fvec4) ImageSampleProjExplicitLod 45 46 Lod 47 |
| 111 | 49: 18(fvec4) Load 23(color) |
| 112 | 50: 18(fvec4) FAdd 49 48 |
| 113 | Store 23(color) 50 |
| 114 | 55: 52 Load 54(texSampler2D) |
| 115 | 56: 37(fvec2) Load 39(coords2D) |
| 116 | 57: 6(float) Load 8(lod) |
| 117 | 58: 18(fvec4) ImageSampleExplicitLod 55 56 Lod 57 |
| 118 | 59: 18(fvec4) Load 23(color) |
| 119 | 60: 18(fvec4) FAdd 59 58 |
| 120 | Store 23(color) 60 |
| 121 | 61: 52 Load 54(texSampler2D) |
| 122 | 62: 12(fvec3) Load 14(coords3D) |
| 123 | 63: 6(float) Load 8(lod) |
| 124 | 64: 18(fvec4) ImageSampleProjExplicitLod 61 62 Lod 63 |
| 125 | 65: 18(fvec4) Load 23(color) |
| 126 | 66: 18(fvec4) FAdd 65 64 |
| 127 | Store 23(color) 66 |
| 128 | 67: 52 Load 54(texSampler2D) |
| 129 | 68: 18(fvec4) Load 20(coords4D) |
| 130 | 69: 6(float) Load 8(lod) |
| 131 | 70: 18(fvec4) ImageSampleProjExplicitLod 67 68 Lod 69 |
| 132 | 71: 18(fvec4) Load 23(color) |
| 133 | 72: 18(fvec4) FAdd 71 70 |
| 134 | Store 23(color) 72 |
| 135 | 77: 74 Load 76(texSampler3D) |
| 136 | 78: 12(fvec3) Load 14(coords3D) |
| 137 | 79: 6(float) Load 8(lod) |
| 138 | 80: 18(fvec4) ImageSampleExplicitLod 77 78 Lod 79 |
| 139 | 81: 18(fvec4) Load 23(color) |
| 140 | 82: 18(fvec4) FAdd 81 80 |
| 141 | Store 23(color) 82 |
| 142 | 83: 74 Load 76(texSampler3D) |
| 143 | 84: 18(fvec4) Load 20(coords4D) |
| 144 | 85: 6(float) Load 8(lod) |
| 145 | 86: 18(fvec4) ImageSampleProjExplicitLod 83 84 Lod 85 |
| 146 | 87: 18(fvec4) Load 23(color) |
| 147 | 88: 18(fvec4) FAdd 87 86 |
| 148 | Store 23(color) 88 |
| 149 | 93: 90 Load 92(texSamplerCube) |
| 150 | 94: 12(fvec3) Load 14(coords3D) |
| 151 | 95: 6(float) Load 8(lod) |
| 152 | 96: 18(fvec4) ImageSampleExplicitLod 93 94 Lod 95 |
| 153 | 97: 18(fvec4) Load 23(color) |
| 154 | 98: 18(fvec4) FAdd 97 96 |
| 155 | Store 23(color) 98 |
| 156 | 103: 100 Load 102(shadowSampler1D) |
| 157 | 104: 12(fvec3) Load 14(coords3D) |
| 158 | 105: 6(float) Load 8(lod) |
| 159 | 106: 6(float) CompositeExtract 104 2 |
| 160 | 107: 6(float) ImageSampleDrefExplicitLod 103 104 106 Lod 105 |
| 161 | 108: 18(fvec4) Load 23(color) |
| 162 | 109: 18(fvec4) CompositeConstruct 107 107 107 107 |
| 163 | 110: 18(fvec4) FAdd 108 109 |
| 164 | Store 23(color) 110 |
| 165 | 115: 112 Load 114(shadowSampler2D) |
| 166 | 116: 12(fvec3) Load 14(coords3D) |
| 167 | 117: 6(float) Load 8(lod) |
| 168 | 118: 6(float) CompositeExtract 116 2 |
| 169 | 119: 6(float) ImageSampleDrefExplicitLod 115 116 118 Lod 117 |
| 170 | 120: 18(fvec4) Load 23(color) |
| 171 | 121: 18(fvec4) CompositeConstruct 119 119 119 119 |
| 172 | 122: 18(fvec4) FAdd 120 121 |
| 173 | Store 23(color) 122 |
| 174 | 123: 100 Load 102(shadowSampler1D) |
| 175 | 124: 18(fvec4) Load 20(coords4D) |
| 176 | 125: 6(float) Load 8(lod) |
| 177 | 126: 6(float) CompositeExtract 124 3 |
| 178 | 127: 6(float) ImageSampleProjDrefExplicitLod 123 124 126 Lod 125 |
| 179 | 128: 18(fvec4) Load 23(color) |
| 180 | 129: 18(fvec4) CompositeConstruct 127 127 127 127 |
| 181 | 130: 18(fvec4) FAdd 128 129 |
| 182 | Store 23(color) 130 |
| 183 | 131: 112 Load 114(shadowSampler2D) |
| 184 | 132: 18(fvec4) Load 20(coords4D) |
| 185 | 133: 6(float) Load 8(lod) |
| 186 | 134: 6(float) CompositeExtract 132 3 |
| 187 | 135: 6(float) ImageSampleProjDrefExplicitLod 131 132 134 Lod 133 |
| 188 | 136: 18(fvec4) Load 23(color) |
| 189 | 137: 18(fvec4) CompositeConstruct 135 135 135 135 |
| 190 | 138: 18(fvec4) FAdd 136 137 |
| 191 | Store 23(color) 138 |
| 192 | 141: 18(fvec4) Load 23(color) |
| 193 | Store 140(gl_Position) 141 |
| 194 | Return |
| 195 | FunctionEnd |