1 hlsl.clipdistance-3.vert 2 Shader version: 500 3 0:? Sequence 4 0:4 Function Definition: @main(vf4;f1[2];f1[2]; ( temp void) 5 0:4 Function Parameters: 6 0:4 'pos' ( out 4-component vector of float) 7 0:4 'clip' ( out 2-element array of float) 8 0:4 'cull' ( out 2-element array of float) 9 0:? Sequence 10 0:5 move second child to first child ( temp 4-component vector of float) 11 0:5 'pos' ( out 4-component vector of float) 12 0:5 Constant: 13 0:5 1.000000 14 0:5 1.000000 15 0:5 1.000000 16 0:5 1.000000 17 0:6 move second child to first child ( temp float) 18 0:6 direct index ( temp float) 19 0:6 'clip' ( out 2-element array of float) 20 0:6 Constant: 21 0:6 0 (const int) 22 0:6 Constant: 23 0:6 0.500000 24 0:7 move second child to first child ( temp float) 25 0:7 direct index ( temp float) 26 0:7 'clip' ( out 2-element array of float) 27 0:7 Constant: 28 0:7 1 (const int) 29 0:7 Constant: 30 0:7 0.600000 31 0:9 move second child to first child ( temp float) 32 0:9 direct index ( temp float) 33 0:9 'cull' ( out 2-element array of float) 34 0:9 Constant: 35 0:9 0 (const int) 36 0:9 Constant: 37 0:9 0.525000 38 0:10 move second child to first child ( temp float) 39 0:10 direct index ( temp float) 40 0:10 'cull' ( out 2-element array of float) 41 0:10 Constant: 42 0:10 1 (const int) 43 0:10 Constant: 44 0:10 0.625000 45 0:4 Function Definition: main( ( temp void) 46 0:4 Function Parameters: 47 0:? Sequence 48 0:4 Function Call: @main(vf4;f1[2];f1[2]; ( temp void) 49 0:? 'pos' ( temp 4-component vector of float) 50 0:? 'clip' ( temp 2-element array of float) 51 0:? 'cull' ( temp 2-element array of float) 52 0:4 move second child to first child ( temp 4-component vector of float) 53 0:? 'pos' ( out 4-component vector of float Position) 54 0:? 'pos' ( temp 4-component vector of float) 55 0:? Sequence 56 0:4 move second child to first child ( temp 2-element array of float) 57 0:? 'clip' ( out 2-element array of float ClipDistance) 58 0:? 'clip' ( temp 2-element array of float) 59 0:? Sequence 60 0:4 move second child to first child ( temp 2-element array of float) 61 0:? 'cull' ( out 2-element array of float CullDistance) 62 0:? 'cull' ( temp 2-element array of float) 63 0:? Linker Objects 64 0:? 'pos' ( out 4-component vector of float Position) 65 0:? 'clip' ( out 2-element array of float ClipDistance) 66 0:? 'cull' ( out 2-element array of float CullDistance) 67 68 69 Linked vertex stage: 70 71 72 Shader version: 500 73 0:? Sequence 74 0:4 Function Definition: @main(vf4;f1[2];f1[2]; ( temp void) 75 0:4 Function Parameters: 76 0:4 'pos' ( out 4-component vector of float) 77 0:4 'clip' ( out 2-element array of float) 78 0:4 'cull' ( out 2-element array of float) 79 0:? Sequence 80 0:5 move second child to first child ( temp 4-component vector of float) 81 0:5 'pos' ( out 4-component vector of float) 82 0:5 Constant: 83 0:5 1.000000 84 0:5 1.000000 85 0:5 1.000000 86 0:5 1.000000 87 0:6 move second child to first child ( temp float) 88 0:6 direct index ( temp float) 89 0:6 'clip' ( out 2-element array of float) 90 0:6 Constant: 91 0:6 0 (const int) 92 0:6 Constant: 93 0:6 0.500000 94 0:7 move second child to first child ( temp float) 95 0:7 direct index ( temp float) 96 0:7 'clip' ( out 2-element array of float) 97 0:7 Constant: 98 0:7 1 (const int) 99 0:7 Constant: 100 0:7 0.600000 101 0:9 move second child to first child ( temp float) 102 0:9 direct index ( temp float) 103 0:9 'cull' ( out 2-element array of float) 104 0:9 Constant: 105 0:9 0 (const int) 106 0:9 Constant: 107 0:9 0.525000 108 0:10 move second child to first child ( temp float) 109 0:10 direct index ( temp float) 110 0:10 'cull' ( out 2-element array of float) 111 0:10 Constant: 112 0:10 1 (const int) 113 0:10 Constant: 114 0:10 0.625000 115 0:4 Function Definition: main( ( temp void) 116 0:4 Function Parameters: 117 0:? Sequence 118 0:4 Function Call: @main(vf4;f1[2];f1[2]; ( temp void) 119 0:? 'pos' ( temp 4-component vector of float) 120 0:? 'clip' ( temp 2-element array of float) 121 0:? 'cull' ( temp 2-element array of float) 122 0:4 move second child to first child ( temp 4-component vector of float) 123 0:? 'pos' ( out 4-component vector of float Position) 124 0:? 'pos' ( temp 4-component vector of float) 125 0:? Sequence 126 0:4 move second child to first child ( temp 2-element array of float) 127 0:? 'clip' ( out 2-element array of float ClipDistance) 128 0:? 'clip' ( temp 2-element array of float) 129 0:? Sequence 130 0:4 move second child to first child ( temp 2-element array of float) 131 0:? 'cull' ( out 2-element array of float CullDistance) 132 0:? 'cull' ( temp 2-element array of float) 133 0:? Linker Objects 134 0:? 'pos' ( out 4-component vector of float Position) 135 0:? 'clip' ( out 2-element array of float ClipDistance) 136 0:? 'cull' ( out 2-element array of float CullDistance) 137 138 // Module Version 10000 139 // Generated by (magic number): 80007 140 // Id's are bound by 51 141 142 Capability Shader 143 Capability ClipDistance 144 Capability CullDistance 145 1: ExtInstImport "GLSL.std.450" 146 MemoryModel Logical GLSL450 147 EntryPoint Vertex 4 "main" 44 47 49 148 Source HLSL 500 149 Name 4 "main" 150 Name 17 "@main(vf4;f1[2];f1[2];" 151 Name 14 "pos" 152 Name 15 "clip" 153 Name 16 "cull" 154 Name 33 "pos" 155 Name 34 "clip" 156 Name 35 "cull" 157 Name 36 "param" 158 Name 37 "param" 159 Name 38 "param" 160 Name 44 "pos" 161 Name 47 "clip" 162 Name 49 "cull" 163 Decorate 44(pos) BuiltIn Position 164 Decorate 47(clip) BuiltIn ClipDistance 165 Decorate 49(cull) BuiltIn CullDistance 166 2: TypeVoid 167 3: TypeFunction 2 168 6: TypeFloat 32 169 7: TypeVector 6(float) 4 170 8: TypePointer Function 7(fvec4) 171 9: TypeInt 32 0 172 10: 9(int) Constant 2 173 11: TypeArray 6(float) 10 174 12: TypePointer Function 11 175 13: TypeFunction 2 8(ptr) 12(ptr) 12(ptr) 176 19: 6(float) Constant 1065353216 177 20: 7(fvec4) ConstantComposite 19 19 19 19 178 21: TypeInt 32 1 179 22: 21(int) Constant 0 180 23: 6(float) Constant 1056964608 181 24: TypePointer Function 6(float) 182 26: 21(int) Constant 1 183 27: 6(float) Constant 1058642330 184 29: 6(float) Constant 1057384038 185 31: 6(float) Constant 1059061760 186 43: TypePointer Output 7(fvec4) 187 44(pos): 43(ptr) Variable Output 188 46: TypePointer Output 11 189 47(clip): 46(ptr) Variable Output 190 49(cull): 46(ptr) Variable Output 191 4(main): 2 Function None 3 192 5: Label 193 33(pos): 8(ptr) Variable Function 194 34(clip): 12(ptr) Variable Function 195 35(cull): 12(ptr) Variable Function 196 36(param): 8(ptr) Variable Function 197 37(param): 12(ptr) Variable Function 198 38(param): 12(ptr) Variable Function 199 39: 2 FunctionCall 17(@main(vf4;f1[2];f1[2];) 36(param) 37(param) 38(param) 200 40: 7(fvec4) Load 36(param) 201 Store 33(pos) 40 202 41: 11 Load 37(param) 203 Store 34(clip) 41 204 42: 11 Load 38(param) 205 Store 35(cull) 42 206 45: 7(fvec4) Load 33(pos) 207 Store 44(pos) 45 208 48: 11 Load 34(clip) 209 Store 47(clip) 48 210 50: 11 Load 35(cull) 211 Store 49(cull) 50 212 Return 213 FunctionEnd 214 17(@main(vf4;f1[2];f1[2];): 2 Function None 13 215 14(pos): 8(ptr) FunctionParameter 216 15(clip): 12(ptr) FunctionParameter 217 16(cull): 12(ptr) FunctionParameter 218 18: Label 219 Store 14(pos) 20 220 25: 24(ptr) AccessChain 15(clip) 22 221 Store 25 23 222 28: 24(ptr) AccessChain 15(clip) 26 223 Store 28 27 224 30: 24(ptr) AccessChain 16(cull) 22 225 Store 30 29 226 32: 24(ptr) AccessChain 16(cull) 26 227 Store 32 31 228 Return 229 FunctionEnd 230