Commit 3cac8a2
committed
HLSL: Allow Gather on integer textures in SM < 6.7
Texture2D<uint>.GatherRed() and similar Gather operations on integer
textures are valid in HLSL SM 5.0, but the non-float texture sampling
check rejected all non-float texture operations unconditionally.
Narrow the check to exclude Gather operations.1 parent a2e10fc commit 3cac8a2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3952 | 3952 | | |
3953 | 3953 | | |
3954 | 3954 | | |
3955 | | - | |
| 3955 | + | |
3956 | 3956 | | |
3957 | 3957 | | |
3958 | 3958 | | |
| |||
0 commit comments