docs: measure type-0 and type-1 texture descriptors on gfx1100 #7910
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7910"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by DavidAmsellem on 2026-10-19T13:19:45Z.
What
The entry recorded TYPE 1 from a gfx1010 measurement with format 22 only, and left other formats,
depth-compare reads and other architectures open.
Measured on a gfx1100 (RX 7900 XT, RADV Mesa 25.2.8) with the hardware oracle.
A 2D T# declared 64x32 is built in SGPRs, its base pointing at readable memory holding
0xffbytes:image_sample_lzimage_loadimage_sample_c_lzimage_sample_bimage_get_resinfo0xffffffff0x3f800000TYPE 0 and TYPE 1 answer zero with no fault for formats 32_FLOAT, 16_SSCALED, 2_10_10_10_SNORM and
8_UNORM, over a nonzero base and over a zero base alike. These are the raw GFX11 codes 22, 10, 37 and 1.
GFX11 renumbers the formats past 29, so on the console's GFX10 numbering 37 would be 11_11_10_UNORM.
The names come from
llvm-mc -mcpu=gfx1100for those codes. The entry now names the formats instead ofthe codes.
The control matters: a first attempt that loaded the descriptor with
s_load_dwordx8answered zerofor TYPE 9 as well, which would have read as a measurement. Built in SGPRs, TYPE 9 answers the
declared 64 and 32 and the stored bytes, so the zeros above are the device's answer and not a dead
kernel.
image_sample_c_lzneeds a sampler whose depth compare function is ALWAYS to say anything:the control then answers 1.0 at 32_FLOAT, but zero at the other three. That is not about TYPE: a sweep
of all 63 GFX11 color codes 1 to 63 on a TYPE 9 T# shows gfx1100 comparing only at 16_UNORM and 32_FLOAT.
Every other format reads its texels but answers 0 for every compare function, ALWAYS included. Format 0
answers zero even at TYPE 9.
This measures gfx1100, not the console's gfx1013, and changes no behaviour: the entry already
describes what the driver does.
Open PR #7600 adds a new entry just above this one in the same file. It does not touch these lines.
Tested
Linux Mint 22.3 (Ubuntu 24.04 base), kernel 7.0.0-38, GCC 13.3, RX 7900 XT (RADV NAVI31, Mesa
25.2.8). Documentation only, no code change.
python3 tools/hw-oracle/hw_oracle.pyruns for every row of the table above.python3 tools/check_conventions.py --base origin/mainpasses.python3 tools/pr_overlap.py --branch docs/type1-descriptor-measurementrun; see the note above.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code