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