LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 1 | hlsl.tristream-append.geom |
| 2 | Shader version: 500 |
| 3 | invocations = -1 |
| 4 | max_vertices = 3 |
| 5 | input primitive = triangles |
| 6 | output primitive = triangle_strip |
| 7 | 0:? Sequence |
| 8 | 0:8 Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 9 | 0:8 Function Parameters: |
| 10 | 0:8 'output' ( in structure{}) |
| 11 | 0:8 'TriStream' ( out structure{}) |
| 12 | 0:? Sequence |
| 13 | 0:9 Sequence |
| 14 | 0:9 Sequence |
| 15 | 0:9 move second child to first child ( temp structure{}) |
| 16 | 0:9 'TriStream' ( out structure{}) |
| 17 | 0:9 'output' ( in structure{}) |
| 18 | 0:9 EmitVertex ( temp void) |
| 19 | 0:14 Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void) |
| 20 | 0:14 Function Parameters: |
| 21 | 0:14 'input' ( in 3-element array of structure{}) |
| 22 | 0:14 'TriStream' ( out structure{}) |
| 23 | 0:? Sequence |
| 24 | 0:15 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 25 | 0:15 direct index ( temp structure{}) |
| 26 | 0:15 'input' ( in 3-element array of structure{}) |
| 27 | 0:15 Constant: |
| 28 | 0:15 0 (const int) |
| 29 | 0:15 'TriStream' ( out structure{}) |
| 30 | 0:16 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 31 | 0:16 direct index ( temp structure{}) |
| 32 | 0:16 'input' ( in 3-element array of structure{}) |
| 33 | 0:16 Constant: |
| 34 | 0:16 1 (const int) |
| 35 | 0:16 'TriStream' ( out structure{}) |
| 36 | 0:17 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 37 | 0:17 direct index ( temp structure{}) |
| 38 | 0:17 'input' ( in 3-element array of structure{}) |
| 39 | 0:17 Constant: |
| 40 | 0:17 2 (const int) |
| 41 | 0:17 'TriStream' ( out structure{}) |
| 42 | 0:14 Function Definition: main( ( temp void) |
| 43 | 0:14 Function Parameters: |
| 44 | 0:? Sequence |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 45 | 0:14 Sequence |
| 46 | 0:14 move second child to first child ( temp structure{}) |
| 47 | 0:14 direct index ( temp structure{}) |
| 48 | 0:? 'input' ( temp 3-element array of structure{}) |
| 49 | 0:14 Constant: |
| 50 | 0:14 0 (const int) |
| 51 | 0:14 direct index ( in structure{}) |
| 52 | 0:? 'input' ( in 3-element array of structure{}) |
| 53 | 0:14 Constant: |
| 54 | 0:14 0 (const int) |
| 55 | 0:14 move second child to first child ( temp structure{}) |
| 56 | 0:14 direct index ( temp structure{}) |
| 57 | 0:? 'input' ( temp 3-element array of structure{}) |
| 58 | 0:14 Constant: |
| 59 | 0:14 1 (const int) |
| 60 | 0:14 direct index ( in structure{}) |
| 61 | 0:? 'input' ( in 3-element array of structure{}) |
| 62 | 0:14 Constant: |
| 63 | 0:14 1 (const int) |
| 64 | 0:14 move second child to first child ( temp structure{}) |
| 65 | 0:14 direct index ( temp structure{}) |
| 66 | 0:? 'input' ( temp 3-element array of structure{}) |
| 67 | 0:14 Constant: |
| 68 | 0:14 2 (const int) |
| 69 | 0:14 direct index ( in structure{}) |
| 70 | 0:? 'input' ( in 3-element array of structure{}) |
| 71 | 0:14 Constant: |
| 72 | 0:14 2 (const int) |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 73 | 0:14 Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void) |
| 74 | 0:? 'input' ( temp 3-element array of structure{}) |
| 75 | 0:? 'TriStream' ( temp structure{}) |
| 76 | 0:? Linker Objects |
| 77 | |
| 78 | |
| 79 | Linked geometry stage: |
| 80 | |
| 81 | |
| 82 | Shader version: 500 |
| 83 | invocations = 1 |
| 84 | max_vertices = 3 |
| 85 | input primitive = triangles |
| 86 | output primitive = triangle_strip |
| 87 | 0:? Sequence |
| 88 | 0:8 Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 89 | 0:8 Function Parameters: |
| 90 | 0:8 'output' ( in structure{}) |
| 91 | 0:8 'TriStream' ( out structure{}) |
| 92 | 0:? Sequence |
| 93 | 0:9 Sequence |
| 94 | 0:9 Sequence |
| 95 | 0:9 move second child to first child ( temp structure{}) |
| 96 | 0:9 'TriStream' ( out structure{}) |
| 97 | 0:9 'output' ( in structure{}) |
| 98 | 0:9 EmitVertex ( temp void) |
| 99 | 0:14 Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void) |
| 100 | 0:14 Function Parameters: |
| 101 | 0:14 'input' ( in 3-element array of structure{}) |
| 102 | 0:14 'TriStream' ( out structure{}) |
| 103 | 0:? Sequence |
| 104 | 0:15 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 105 | 0:15 direct index ( temp structure{}) |
| 106 | 0:15 'input' ( in 3-element array of structure{}) |
| 107 | 0:15 Constant: |
| 108 | 0:15 0 (const int) |
| 109 | 0:15 'TriStream' ( out structure{}) |
| 110 | 0:16 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 111 | 0:16 direct index ( temp structure{}) |
| 112 | 0:16 'input' ( in 3-element array of structure{}) |
| 113 | 0:16 Constant: |
| 114 | 0:16 1 (const int) |
| 115 | 0:16 'TriStream' ( out structure{}) |
| 116 | 0:17 Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void) |
| 117 | 0:17 direct index ( temp structure{}) |
| 118 | 0:17 'input' ( in 3-element array of structure{}) |
| 119 | 0:17 Constant: |
| 120 | 0:17 2 (const int) |
| 121 | 0:17 'TriStream' ( out structure{}) |
| 122 | 0:14 Function Definition: main( ( temp void) |
| 123 | 0:14 Function Parameters: |
| 124 | 0:? Sequence |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 125 | 0:14 Sequence |
| 126 | 0:14 move second child to first child ( temp structure{}) |
| 127 | 0:14 direct index ( temp structure{}) |
| 128 | 0:? 'input' ( temp 3-element array of structure{}) |
| 129 | 0:14 Constant: |
| 130 | 0:14 0 (const int) |
| 131 | 0:14 direct index ( in structure{}) |
| 132 | 0:? 'input' ( in 3-element array of structure{}) |
| 133 | 0:14 Constant: |
| 134 | 0:14 0 (const int) |
| 135 | 0:14 move second child to first child ( temp structure{}) |
| 136 | 0:14 direct index ( temp structure{}) |
| 137 | 0:? 'input' ( temp 3-element array of structure{}) |
| 138 | 0:14 Constant: |
| 139 | 0:14 1 (const int) |
| 140 | 0:14 direct index ( in structure{}) |
| 141 | 0:? 'input' ( in 3-element array of structure{}) |
| 142 | 0:14 Constant: |
| 143 | 0:14 1 (const int) |
| 144 | 0:14 move second child to first child ( temp structure{}) |
| 145 | 0:14 direct index ( temp structure{}) |
| 146 | 0:? 'input' ( temp 3-element array of structure{}) |
| 147 | 0:14 Constant: |
| 148 | 0:14 2 (const int) |
| 149 | 0:14 direct index ( in structure{}) |
| 150 | 0:? 'input' ( in 3-element array of structure{}) |
| 151 | 0:14 Constant: |
| 152 | 0:14 2 (const int) |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 153 | 0:14 Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void) |
| 154 | 0:? 'input' ( temp 3-element array of structure{}) |
| 155 | 0:? 'TriStream' ( temp structure{}) |
| 156 | 0:? Linker Objects |
| 157 | |
Alan Baker | ed777b0 | 2018-12-04 10:43:23 -0500 | [diff] [blame] | 158 | Validation failed |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 159 | // Module Version 10000 |
John Kessenich | 31c3370 | 2019-11-02 21:26:40 -0600 | [diff] [blame] | 160 | // Generated by (magic number): 80008 |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 161 | // Id's are bound by 66 |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 162 | |
| 163 | Capability Geometry |
| 164 | 1: ExtInstImport "GLSL.std.450" |
| 165 | MemoryModel Logical GLSL450 |
| 166 | EntryPoint Geometry 4 "main" |
| 167 | ExecutionMode 4 Triangles |
| 168 | ExecutionMode 4 Invocations 1 |
| 169 | ExecutionMode 4 OutputTriangleStrip |
| 170 | ExecutionMode 4 OutputVertices 3 |
| 171 | Source HLSL 500 |
| 172 | Name 4 "main" |
| 173 | Name 6 "GSPS_INPUT" |
| 174 | Name 11 "EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;" |
| 175 | Name 9 "output" |
| 176 | Name 10 "TriStream" |
| 177 | Name 20 "@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;" |
| 178 | Name 18 "input" |
| 179 | Name 19 "TriStream" |
| 180 | Name 23 "TriStream" |
| 181 | Name 27 "param" |
| 182 | Name 30 "param" |
| 183 | Name 34 "param" |
| 184 | Name 37 "param" |
| 185 | Name 41 "param" |
| 186 | Name 44 "param" |
| 187 | Name 47 "input" |
| 188 | Name 49 "input" |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 189 | Name 60 "TriStream" |
| 190 | Name 61 "param" |
| 191 | Name 63 "param" |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 192 | 2: TypeVoid |
| 193 | 3: TypeFunction 2 |
| 194 | 6(GSPS_INPUT): TypeStruct |
| 195 | 7: TypePointer Function 6(GSPS_INPUT) |
| 196 | 8: TypeFunction 2 7(ptr) 7(ptr) |
| 197 | 13: TypeInt 32 0 |
| 198 | 14: 13(int) Constant 3 |
| 199 | 15: TypeArray 6(GSPS_INPUT) 14 |
| 200 | 16: TypePointer Function 15 |
| 201 | 17: TypeFunction 2 16(ptr) 7(ptr) |
| 202 | 22: TypePointer Output 6(GSPS_INPUT) |
| 203 | 23(TriStream): 22(ptr) Variable Output |
| 204 | 25: TypeInt 32 1 |
| 205 | 26: 25(int) Constant 0 |
| 206 | 33: 25(int) Constant 1 |
| 207 | 40: 25(int) Constant 2 |
| 208 | 48: TypePointer Input 15 |
| 209 | 49(input): 48(ptr) Variable Input |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 210 | 50: TypePointer Input 6(GSPS_INPUT) |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 211 | 4(main): 2 Function None 3 |
| 212 | 5: Label |
| 213 | 47(input): 16(ptr) Variable Function |
greg-lunarg | 7c753a7 | 2020-05-18 02:13:10 -0600 | [diff] [blame^] | 214 | 60(TriStream): 7(ptr) Variable Function |
| 215 | 61(param): 16(ptr) Variable Function |
| 216 | 63(param): 7(ptr) Variable Function |
| 217 | 51: 50(ptr) AccessChain 49(input) 26 |
| 218 | 52:6(GSPS_INPUT) Load 51 |
| 219 | 53: 7(ptr) AccessChain 47(input) 26 |
| 220 | Store 53 52 |
| 221 | 54: 50(ptr) AccessChain 49(input) 33 |
| 222 | 55:6(GSPS_INPUT) Load 54 |
| 223 | 56: 7(ptr) AccessChain 47(input) 33 |
| 224 | Store 56 55 |
| 225 | 57: 50(ptr) AccessChain 49(input) 40 |
| 226 | 58:6(GSPS_INPUT) Load 57 |
| 227 | 59: 7(ptr) AccessChain 47(input) 40 |
| 228 | Store 59 58 |
| 229 | 62: 15 Load 47(input) |
| 230 | Store 61(param) 62 |
| 231 | 64: 2 FunctionCall 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;) 61(param) 63(param) |
| 232 | 65:6(GSPS_INPUT) Load 63(param) |
| 233 | Store 60(TriStream) 65 |
LoopDawg | 1326b8c | 2018-05-15 13:36:13 -0600 | [diff] [blame] | 234 | Return |
| 235 | FunctionEnd |
| 236 | 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;): 2 Function None 8 |
| 237 | 9(output): 7(ptr) FunctionParameter |
| 238 | 10(TriStream): 7(ptr) FunctionParameter |
| 239 | 12: Label |
| 240 | 24:6(GSPS_INPUT) Load 9(output) |
| 241 | Store 23(TriStream) 24 |
| 242 | EmitVertex |
| 243 | Return |
| 244 | FunctionEnd |
| 245 | 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;): 2 Function None 17 |
| 246 | 18(input): 16(ptr) FunctionParameter |
| 247 | 19(TriStream): 7(ptr) FunctionParameter |
| 248 | 21: Label |
| 249 | 27(param): 7(ptr) Variable Function |
| 250 | 30(param): 7(ptr) Variable Function |
| 251 | 34(param): 7(ptr) Variable Function |
| 252 | 37(param): 7(ptr) Variable Function |
| 253 | 41(param): 7(ptr) Variable Function |
| 254 | 44(param): 7(ptr) Variable Function |
| 255 | 28: 7(ptr) AccessChain 18(input) 26 |
| 256 | 29:6(GSPS_INPUT) Load 28 |
| 257 | Store 27(param) 29 |
| 258 | 31: 2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 27(param) 30(param) |
| 259 | 32:6(GSPS_INPUT) Load 30(param) |
| 260 | Store 19(TriStream) 32 |
| 261 | 35: 7(ptr) AccessChain 18(input) 33 |
| 262 | 36:6(GSPS_INPUT) Load 35 |
| 263 | Store 34(param) 36 |
| 264 | 38: 2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 34(param) 37(param) |
| 265 | 39:6(GSPS_INPUT) Load 37(param) |
| 266 | Store 19(TriStream) 39 |
| 267 | 42: 7(ptr) AccessChain 18(input) 40 |
| 268 | 43:6(GSPS_INPUT) Load 42 |
| 269 | Store 41(param) 43 |
| 270 | 45: 2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 41(param) 44(param) |
| 271 | 46:6(GSPS_INPUT) Load 44(param) |
| 272 | Store 19(TriStream) 46 |
| 273 | Return |
| 274 | FunctionEnd |