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