diff options
| author | Shuvam Pandey <shuvampandey1@gmail.com> | 2026-11-22 03:28:27 +0545 |
|---|---|---|
| committer | Shuvam Pandey <shuvampandey1@gmail.com> | 2026-11-22 03:47:22 +0545 |
| commit | 256da65a1b4fa7a2ecb9b45d9f8cb05fbe226fae (patch) | |
| tree | 0eb64d2f690492c04e1959197e46402522042260 /runtime/src/pe_loader.cpp | |
| parent | 36ace7135e897c228eede5d1d8c28e972285cb14 (diff) | |
Translator: 10:10:10:2 buffer formats had x and w swapped
GFX10 format names list the channel widths from the top bit, so 2_10_10_10
(50) is R10G10B10A2 and 10_10_10_2 (44) has a 2-bit x. FORMATS read them
from bit 0, which swapped the two for typed buffer loads and stores.
cs_store now writes its R10G10B10A2 word through 50. cs_fmt_1010102 covers
both formats; to run it, buffer_load_format masks a shift that was 32 for
aligned elements, and the test interpreter gains the conversions it needs.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions