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