diff options
| author | Claude <noreply@anthropic.com> | 2026-11-25 00:54:13 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-25 00:54:13 +0000 |
| commit | 12677c3414093d4c91b4333de9062d2016765f2c (patch) | |
| tree | 68412149731a1f51a6dbbf347ef70bce2f995186 /runtime/src/xma2_decoder.cpp | |
| parent | 979f713f9e65fce815b9e84a7ccafdcad9e73f77 (diff) | |
rdna2spirv: image_gather4_c_lz: cite Mesa ACO, which agrees on every point
Mesa's ACO visit_tex for nir_texop_tg4 (read in two copies from a Mesa mirror,
about 2021 and a recent one) selects exactly image_gather4_c_lz and
image_gather4_c_lz_o for a shadow gather at level zero, pushes the address as
offset, bias, compare, derivatives, coordinates (no LOD word at level zero),
builds the offset dword as (offset & 0x3F) << (8 * i), keeps the compare whole
under a16, and sets dmask 1 for every shadow gather, which is the sourced reason
for refusing other dmask bits. Its half-texel integer workaround is GFX8-and-older
integer results only and does not touch a compare gather.
docs/design.md row, the emit_gather4_c_lz docstring and the test file header now
cite it; no behaviour change and no new case.
AI-assisted.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7fbZYVY7EtLknWBZUfSLf
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions