Commit 26fa31b
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#70791 parent 5dd0c17 commit 26fa31b
File tree
2 files changed
+14
-16
lines changed- lib/DXIL
- tools/clang/lib/CodeGen
2 files changed
+14
-16
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 | |
|---|---|---|---|
| |||
3510 | 3510 | | |
3511 | 3511 | | |
3512 | 3512 | | |
3513 | | - | |
3514 | | - | |
3515 | | - | |
3516 | | - | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
3517 | 3523 | | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
3518 | 3527 | | |
3519 | 3528 | | |
3520 | 3529 | | |
| |||
0 commit comments