1 hlsl.boolConv.vert 2 Shader version: 500 3 0:? Sequence 4 0:1 Sequence 5 0:1 move second child to first child ( temp bool) 6 0:1 'b' ( global bool) 7 0:1 Constant: 8 0:1 true (const bool) 9 0:3 Function Definition: @main( ( temp 4-component vector of float) 10 0:3 Function Parameters: 11 0:? Sequence 12 0:4 Sequence 13 0:4 move second child to first child ( temp int) 14 0:4 'r' ( temp int) 15 0:4 Constant: 16 0:4 0 (const int) 17 0:6 add second child into first child ( temp int) 18 0:6 'r' ( temp int) 19 0:6 add ( temp int) 20 0:6 Convert bool to int ( temp int) 21 0:6 'a' ( global bool) 22 0:6 Convert bool to int ( temp int) 23 0:6 'b' ( global bool) 24 0:7 add second child into first child ( temp int) 25 0:7 'r' ( temp int) 26 0:7 subtract ( temp int) 27 0:7 Convert bool to int ( temp int) 28 0:7 'a' ( global bool) 29 0:7 Convert bool to int ( temp int) 30 0:7 'b' ( global bool) 31 0:8 add second child into first child ( temp int) 32 0:8 'r' ( temp int) 33 0:8 component-wise multiply ( temp int) 34 0:8 Convert bool to int ( temp int) 35 0:8 'a' ( global bool) 36 0:8 Convert bool to int ( temp int) 37 0:8 'b' ( global bool) 38 0:9 add second child into first child ( temp int) 39 0:9 'r' ( temp int) 40 0:9 divide ( temp int) 41 0:9 Convert bool to int ( temp int) 42 0:9 'a' ( global bool) 43 0:9 Convert bool to int ( temp int) 44 0:9 'b' ( global bool) 45 0:10 add second child into first child ( temp int) 46 0:10 'r' ( temp int) 47 0:10 mod ( temp int) 48 0:10 Convert bool to int ( temp int) 49 0:10 'a' ( global bool) 50 0:10 Convert bool to int ( temp int) 51 0:10 'b' ( global bool) 52 0:12 add second child into first child ( temp int) 53 0:12 'r' ( temp int) 54 0:12 bitwise and ( temp int) 55 0:12 Convert bool to int ( temp int) 56 0:12 'a' ( global bool) 57 0:12 Convert bool to int ( temp int) 58 0:12 'b' ( global bool) 59 0:13 add second child into first child ( temp int) 60 0:13 'r' ( temp int) 61 0:13 inclusive-or ( temp int) 62 0:13 Convert bool to int ( temp int) 63 0:13 'a' ( global bool) 64 0:13 Convert bool to int ( temp int) 65 0:13 'b' ( global bool) 66 0:14 add second child into first child ( temp int) 67 0:14 'r' ( temp int) 68 0:14 exclusive-or ( temp int) 69 0:14 Convert bool to int ( temp int) 70 0:14 'a' ( global bool) 71 0:14 Convert bool to int ( temp int) 72 0:14 'b' ( global bool) 73 0:16 add second child into first child ( temp int) 74 0:16 'r' ( temp int) 75 0:16 left-shift ( temp int) 76 0:16 Convert bool to int ( temp int) 77 0:16 'a' ( global bool) 78 0:16 Convert bool to int ( temp int) 79 0:16 'b' ( global bool) 80 0:17 add second child into first child ( temp int) 81 0:17 'r' ( temp int) 82 0:17 right-shift ( temp int) 83 0:17 Convert bool to int ( temp int) 84 0:17 'a' ( global bool) 85 0:17 Convert bool to int ( temp int) 86 0:17 'b' ( global bool) 87 0:19 Branch: Return with expression 88 0:19 Construct vec4 ( temp 4-component vector of float) 89 0:19 Convert int to float ( temp float) 90 0:19 'r' ( temp int) 91 0:3 Function Definition: main( ( temp void) 92 0:3 Function Parameters: 93 0:? Sequence 94 0:3 move second child to first child ( temp 4-component vector of float) 95 0:? '@entryPointOutput' ( out 4-component vector of float Position) 96 0:3 Function Call: @main( ( temp 4-component vector of float) 97 0:? Linker Objects 98 0:? 'a' ( global bool) 99 0:? 'b' ( global bool) 100 0:? '@entryPointOutput' ( out 4-component vector of float Position) 101 102 103 Linked vertex stage: 104 105 106 Shader version: 500 107 0:? Sequence 108 0:1 Sequence 109 0:1 move second child to first child ( temp bool) 110 0:1 'b' ( global bool) 111 0:1 Constant: 112 0:1 true (const bool) 113 0:3 Function Definition: @main( ( temp 4-component vector of float) 114 0:3 Function Parameters: 115 0:? Sequence 116 0:4 Sequence 117 0:4 move second child to first child ( temp int) 118 0:4 'r' ( temp int) 119 0:4 Constant: 120 0:4 0 (const int) 121 0:6 add second child into first child ( temp int) 122 0:6 'r' ( temp int) 123 0:6 add ( temp int) 124 0:6 Convert bool to int ( temp int) 125 0:6 'a' ( global bool) 126 0:6 Convert bool to int ( temp int) 127 0:6 'b' ( global bool) 128 0:7 add second child into first child ( temp int) 129 0:7 'r' ( temp int) 130 0:7 subtract ( temp int) 131 0:7 Convert bool to int ( temp int) 132 0:7 'a' ( global bool) 133 0:7 Convert bool to int ( temp int) 134 0:7 'b' ( global bool) 135 0:8 add second child into first child ( temp int) 136 0:8 'r' ( temp int) 137 0:8 component-wise multiply ( temp int) 138 0:8 Convert bool to int ( temp int) 139 0:8 'a' ( global bool) 140 0:8 Convert bool to int ( temp int) 141 0:8 'b' ( global bool) 142 0:9 add second child into first child ( temp int) 143 0:9 'r' ( temp int) 144 0:9 divide ( temp int) 145 0:9 Convert bool to int ( temp int) 146 0:9 'a' ( global bool) 147 0:9 Convert bool to int ( temp int) 148 0:9 'b' ( global bool) 149 0:10 add second child into first child ( temp int) 150 0:10 'r' ( temp int) 151 0:10 mod ( temp int) 152 0:10 Convert bool to int ( temp int) 153 0:10 'a' ( global bool) 154 0:10 Convert bool to int ( temp int) 155 0:10 'b' ( global bool) 156 0:12 add second child into first child ( temp int) 157 0:12 'r' ( temp int) 158 0:12 bitwise and ( temp int) 159 0:12 Convert bool to int ( temp int) 160 0:12 'a' ( global bool) 161 0:12 Convert bool to int ( temp int) 162 0:12 'b' ( global bool) 163 0:13 add second child into first child ( temp int) 164 0:13 'r' ( temp int) 165 0:13 inclusive-or ( temp int) 166 0:13 Convert bool to int ( temp int) 167 0:13 'a' ( global bool) 168 0:13 Convert bool to int ( temp int) 169 0:13 'b' ( global bool) 170 0:14 add second child into first child ( temp int) 171 0:14 'r' ( temp int) 172 0:14 exclusive-or ( temp int) 173 0:14 Convert bool to int ( temp int) 174 0:14 'a' ( global bool) 175 0:14 Convert bool to int ( temp int) 176 0:14 'b' ( global bool) 177 0:16 add second child into first child ( temp int) 178 0:16 'r' ( temp int) 179 0:16 left-shift ( temp int) 180 0:16 Convert bool to int ( temp int) 181 0:16 'a' ( global bool) 182 0:16 Convert bool to int ( temp int) 183 0:16 'b' ( global bool) 184 0:17 add second child into first child ( temp int) 185 0:17 'r' ( temp int) 186 0:17 right-shift ( temp int) 187 0:17 Convert bool to int ( temp int) 188 0:17 'a' ( global bool) 189 0:17 Convert bool to int ( temp int) 190 0:17 'b' ( global bool) 191 0:19 Branch: Return with expression 192 0:19 Construct vec4 ( temp 4-component vector of float) 193 0:19 Convert int to float ( temp float) 194 0:19 'r' ( temp int) 195 0:3 Function Definition: main( ( temp void) 196 0:3 Function Parameters: 197 0:? Sequence 198 0:3 move second child to first child ( temp 4-component vector of float) 199 0:? '@entryPointOutput' ( out 4-component vector of float Position) 200 0:3 Function Call: @main( ( temp 4-component vector of float) 201 0:? Linker Objects 202 0:? 'a' ( global bool) 203 0:? 'b' ( global bool) 204 0:? '@entryPointOutput' ( out 4-component vector of float Position) 205 206 // Module Version 10000 207 // Generated by (magic number): 80007 208 // Id's are bound by 99 209 210 Capability Shader 211 1: ExtInstImport "GLSL.std.450" 212 MemoryModel Logical GLSL450 213 EntryPoint Vertex 4 "main" 97 214 Source HLSL 500 215 Name 4 "main" 216 Name 9 "@main(" 217 Name 13 "b" 218 Name 17 "r" 219 Name 19 "a" 220 Name 97 "@entryPointOutput" 221 Decorate 97(@entryPointOutput) BuiltIn Position 222 2: TypeVoid 223 3: TypeFunction 2 224 6: TypeFloat 32 225 7: TypeVector 6(float) 4 226 8: TypeFunction 7(fvec4) 227 11: TypeBool 228 12: TypePointer Private 11(bool) 229 13(b): 12(ptr) Variable Private 230 14: 11(bool) ConstantTrue 231 15: TypeInt 32 1 232 16: TypePointer Function 15(int) 233 18: 15(int) Constant 0 234 19(a): 12(ptr) Variable Private 235 21: 15(int) Constant 1 236 96: TypePointer Output 7(fvec4) 237 97(@entryPointOutput): 96(ptr) Variable Output 238 4(main): 2 Function None 3 239 5: Label 240 Store 13(b) 14 241 98: 7(fvec4) FunctionCall 9(@main() 242 Store 97(@entryPointOutput) 98 243 Return 244 FunctionEnd 245 9(@main(): 7(fvec4) Function None 8 246 10: Label 247 17(r): 16(ptr) Variable Function 248 Store 17(r) 18 249 20: 11(bool) Load 19(a) 250 22: 15(int) Select 20 21 18 251 23: 11(bool) Load 13(b) 252 24: 15(int) Select 23 21 18 253 25: 15(int) IAdd 22 24 254 26: 15(int) Load 17(r) 255 27: 15(int) IAdd 26 25 256 Store 17(r) 27 257 28: 11(bool) Load 19(a) 258 29: 15(int) Select 28 21 18 259 30: 11(bool) Load 13(b) 260 31: 15(int) Select 30 21 18 261 32: 15(int) ISub 29 31 262 33: 15(int) Load 17(r) 263 34: 15(int) IAdd 33 32 264 Store 17(r) 34 265 35: 11(bool) Load 19(a) 266 36: 15(int) Select 35 21 18 267 37: 11(bool) Load 13(b) 268 38: 15(int) Select 37 21 18 269 39: 15(int) IMul 36 38 270 40: 15(int) Load 17(r) 271 41: 15(int) IAdd 40 39 272 Store 17(r) 41 273 42: 11(bool) Load 19(a) 274 43: 15(int) Select 42 21 18 275 44: 11(bool) Load 13(b) 276 45: 15(int) Select 44 21 18 277 46: 15(int) SDiv 43 45 278 47: 15(int) Load 17(r) 279 48: 15(int) IAdd 47 46 280 Store 17(r) 48 281 49: 11(bool) Load 19(a) 282 50: 15(int) Select 49 21 18 283 51: 11(bool) Load 13(b) 284 52: 15(int) Select 51 21 18 285 53: 15(int) SMod 50 52 286 54: 15(int) Load 17(r) 287 55: 15(int) IAdd 54 53 288 Store 17(r) 55 289 56: 11(bool) Load 19(a) 290 57: 15(int) Select 56 21 18 291 58: 11(bool) Load 13(b) 292 59: 15(int) Select 58 21 18 293 60: 15(int) BitwiseAnd 57 59 294 61: 15(int) Load 17(r) 295 62: 15(int) IAdd 61 60 296 Store 17(r) 62 297 63: 11(bool) Load 19(a) 298 64: 15(int) Select 63 21 18 299 65: 11(bool) Load 13(b) 300 66: 15(int) Select 65 21 18 301 67: 15(int) BitwiseOr 64 66 302 68: 15(int) Load 17(r) 303 69: 15(int) IAdd 68 67 304 Store 17(r) 69 305 70: 11(bool) Load 19(a) 306 71: 15(int) Select 70 21 18 307 72: 11(bool) Load 13(b) 308 73: 15(int) Select 72 21 18 309 74: 15(int) BitwiseXor 71 73 310 75: 15(int) Load 17(r) 311 76: 15(int) IAdd 75 74 312 Store 17(r) 76 313 77: 11(bool) Load 19(a) 314 78: 15(int) Select 77 21 18 315 79: 11(bool) Load 13(b) 316 80: 15(int) Select 79 21 18 317 81: 15(int) ShiftLeftLogical 78 80 318 82: 15(int) Load 17(r) 319 83: 15(int) IAdd 82 81 320 Store 17(r) 83 321 84: 11(bool) Load 19(a) 322 85: 15(int) Select 84 21 18 323 86: 11(bool) Load 13(b) 324 87: 15(int) Select 86 21 18 325 88: 15(int) ShiftRightArithmetic 85 87 326 89: 15(int) Load 17(r) 327 90: 15(int) IAdd 89 88 328 Store 17(r) 90 329 91: 15(int) Load 17(r) 330 92: 6(float) ConvertSToF 91 331 93: 7(fvec4) CompositeConstruct 92 92 92 92 332 ReturnValue 93 333 FunctionEnd 334