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:28:27 +0545 |
| commit | 0532026c35a912cdeb4b33d1115abfce068bd112 (patch) | |
| tree | 41d51cfaf64cf3e32a858b47613cb577e46e380a /runtime/src/main.cpp | |
| parent | 4e390e0871d7265e629b51aca8ff99a15a6a6845 (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/main.cpp')
0 files changed, 0 insertions, 0 deletions