diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 17:17:13 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 17:17:13 +0100 |
| commit | 74e39155f1bd571b9d6684560c87d700759ad529 (patch) | |
| tree | 91d44ec0bfd66ea0161049c680291d6b885e4058 /runtime/test/gameinput_test.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
image_query_probe: measure image_get_resinfo and image_get_lod on RDNA2 (SHADER-388)
docs/design.md left resinfo's 2D depth word, the clamped LOD under a linear
mip filter and the u/v order of the LOD query unverified. The new probe runs
both instructions natively through tools/hw_oracle on hand-built GFX10
descriptors and compares every word with written rules. On gfx1036 all 614
results (wave32 and wave64) follow them:
- resinfo's 2D depth word is 0 (any WORD4 DEPTH); a 2D array's layer count
is minified, max(1, layers >> (BASE_LEVEL + level)); past the last level
width, height and depth are 0.
- get_lod's raw LOD includes LOD_BIAS; the clamped LOD is the clamp under a
linear mip filter, the level read (half up) under point, 0 with none.
- u scales by the width, v by the height.
The translator still differs on the resinfo points; design.md says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions