mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 16:23:05 +00:00
shader: give A16 1D and late 3D gradients their own address VGPRs
Co-authored-by: shadowbeat070 <70843316+shadowbeat070@users.noreply.github.com>
This commit is contained in:
1 parent
0a72641678
commit
78adb9293d
6 files changed
+82
-15
No files matched your search
@@ -5754,6 +5754,9 @@ void TestImageAddressOperands() {
|
||||
Case{0x20, 1, true, false, 2, 1}, // packed xy
|
||||
Case{0x3d, 1, true, false, 5, 4}, // offset, half bias, full dref, packed xy
|
||||
Case{0x20, 2, true, true, 3, 2}, // packed xy/z in nonconsecutive VGPRs
|
||||
Case{0x22, 4, true, false, 4, 3}, // a VGPR per 1D gradient, then packed x/slice
|
||||
Case{0x22, 1, true, false, 6, 3}, // packed 2D gradients and xy
|
||||
Case{0x22, 2, true, false, 9, 6}, // packed first four 3D gradients, a VGPR per last two
|
||||
Case{0x4c, 1, false, true, 4, 4}, // full dref, xy, and LOD in NSA VGPRs
|
||||
Case{0x0e, 1, false, false, 1, 1}, // resource query mip
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user