fix(tools): count packed MIMG variants as decoded shader instructions #942
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/942"
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 Kikoarl on 2026-10-06T19:00:26Z.
What
ImageLoadPck,ImageLoadMipPck,ImageStorePckandImageStoreMipPck(implemented in #557 and #561) are decoded and supported for both 2- and 4-dword transfers viadmask. However,rdna_isa.txtlists the 2- and 4-dword forms under separate mnemonics (IMAGE_LOAD_PCK2,IMAGE_LOAD_PCK4,IMAGE_LOAD_MIP_PCK2,IMAGE_LOAD_MIP_PCK4,IMAGE_STORE_PCK2,IMAGE_STORE_PCK4,IMAGE_STORE_MIP_PCK2,IMAGE_STORE_MIP_PCK4).This PR adds these variants to
OPCODE_VARIANTSintools/progress.py.Tested
agc_driver_image_load_packed(tests/execution/ImageLoadPacked.cpp) andagc_driver_image_store_packed(tests/execution/ImageStorePacked.cpp) cover these dword counts across 10+ texture formats with bit-exact checks.tools/progress.pyreports +8 implemented shader instructions (+0.69%).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)