diff options
| author | Stuart Russell <32734930+stuart-russell@users.noreply.github.com> | 2026-11-23 00:06:13 +0000 |
|---|---|---|
| committer | Stuart Russell <32734930+stuart-russell@users.noreply.github.com> | 2026-11-23 00:06:19 +0000 |
| commit | 8e3e1b4885f2bc3e56835debab1b1580c3437827 (patch) | |
| tree | 305656e78db4fb374fbc3553df84e2dbf5bdbc0e /runtime/src/pe_loader.cpp | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
design: the multi-component `_d16_hi_` buffer forms are not instructions (SHADER-755)
SHADER-755 asked for `buffer_load_format_d16_hi_xy` and the other multi-component high-half
format forms to be translated on top of #1885. They name no RDNA instruction:
- AMD's machine-readable RDNA1 and RDNA2 ISA XML defines `BUFFER_LOAD_FORMAT_D16_HI_X` and
`BUFFER_STORE_FORMAT_D16_HI_X` (MUBUF opcodes 0x026/0x027) and no other format D16 high-half
instruction; the packed widths are 0x080-0x087 with no high-half counterpart.
- LLVM's gfx10 through gfx12 MUBUF tables define the same two, and the console's gfx1013 is
decoded through the gfx10 table, so no listing can carry one.
So this documents the fact instead of inventing a placement for component 1: a docs/design.md
row, and a semantic test that keeps each multi-component spelling Unsupported while the packed
forms translate as a control. #1885 (SHADER-320) adds the `_x` forms, which do exist.
Docs tests and the new test pass; the semantic suite is checked against aa2988cc (the same
failures are there).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions