upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/tls_host.cpp
diff options
context:
space:
mode:
authorShuvam Pandey <shuvampandey1@gmail.com>2026-11-22 03:28:27 +0545
committerShuvam Pandey <shuvampandey1@gmail.com>2026-11-22 03:28:27 +0545
commit0532026c35a912cdeb4b33d1115abfce068bd112 (patch)
tree41d51cfaf64cf3e32a858b47613cb577e46e380a /runtime/src/tls_host.cpp
parent4e390e0871d7265e629b51aca8ff99a15a6a6845 (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/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions