Commit 7d337af
Greg Roth
Set the resource kind as u32 for boolean resources
It was producing a validation error previously because they are represented as u32 and i1 is not valid for output resources. This preserves the cmp conversions for values read from the resource, but satisfies the validation requirement. Performs some incidental consolidation of types that are represented as u32.
Related to microsoft#7079
remove dead array handing code
The array type checks were for a type extracted from a vector. Arrays cannot be elements of vectors. This is leftover from when that was not the case. The code shows as never executed in coverage1 parent c2f85a6 commit 7d337af
File tree
7 files changed
+51
-90
lines changed- lib
- DXIL
- HLSL
- tools/clang
- lib/CodeGen
- test/CodeGenDXIL/hlsl/intrinsics
7 files changed
+51
-90
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 33 | + | |
45 | 34 | | |
46 | 35 | | |
47 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8436 | 8436 | | |
8437 | 8437 | | |
8438 | 8438 | | |
8439 | | - | |
8440 | | - | |
8441 | 8439 | | |
8442 | | - | |
8443 | | - | |
8444 | | - | |
8445 | | - | |
| 8440 | + | |
| 8441 | + | |
| 8442 | + | |
| 8443 | + | |
| 8444 | + | |
| 8445 | + | |
| 8446 | + | |
8446 | 8447 | | |
8447 | | - | |
8448 | | - | |
| 8448 | + | |
| 8449 | + | |
| 8450 | + | |
| 8451 | + | |
8449 | 8452 | | |
8450 | | - | |
8451 | | - | |
8452 | | - | |
8453 | | - | |
8454 | | - | |
8455 | | - | |
8456 | | - | |
8457 | | - | |
| 8453 | + | |
| 8454 | + | |
| 8455 | + | |
8458 | 8456 | | |
8459 | 8457 | | |
8460 | | - | |
8461 | | - | |
8462 | | - | |
8463 | | - | |
8464 | | - | |
8465 | | - | |
8466 | | - | |
8467 | | - | |
8468 | | - | |
8469 | | - | |
8470 | | - | |
8471 | | - | |
8472 | | - | |
8473 | | - | |
8474 | | - | |
8475 | | - | |
8476 | | - | |
8477 | | - | |
8478 | | - | |
8479 | | - | |
8480 | | - | |
8481 | | - | |
8482 | | - | |
8483 | | - | |
| 8458 | + | |
| 8459 | + | |
| 8460 | + | |
8484 | 8461 | | |
| 8462 | + | |
8485 | 8463 | | |
8486 | 8464 | | |
8487 | 8465 | | |
8488 | | - | |
8489 | | - | |
8490 | | - | |
8491 | | - | |
8492 | | - | |
8493 | | - | |
8494 | | - | |
8495 | | - | |
8496 | | - | |
8497 | | - | |
8498 | | - | |
8499 | | - | |
8500 | | - | |
8501 | | - | |
8502 | | - | |
8503 | | - | |
8504 | | - | |
8505 | | - | |
8506 | | - | |
8507 | | - | |
8508 | | - | |
8509 | | - | |
8510 | | - | |
8511 | | - | |
8512 | | - | |
8513 | | - | |
8514 | | - | |
8515 | | - | |
8516 | | - | |
8517 | | - | |
8518 | | - | |
8519 | | - | |
| 8466 | + | |
| 8467 | + | |
| 8468 | + | |
| 8469 | + | |
| 8470 | + | |
| 8471 | + | |
| 8472 | + | |
| 8473 | + | |
| 8474 | + | |
| 8475 | + | |
8520 | 8476 | | |
| 8477 | + | |
| 8478 | + | |
| 8479 | + | |
8521 | 8480 | | |
| 8481 | + | |
| 8482 | + | |
| 8483 | + | |
| 8484 | + | |
8522 | 8485 | | |
8523 | 8486 | | |
8524 | 8487 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3539 | 3539 | | |
3540 | 3540 | | |
3541 | 3541 | | |
3542 | | - | |
3543 | | - | |
3544 | | - | |
3545 | | - | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
3546 | 3552 | | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
3547 | 3556 | | |
3548 | 3557 | | |
3549 | 3558 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments