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