From d155f4555c4d79b578342a14fa9b25e7c8a698a1 Mon Sep 17 00:00:00 2001 From: Kikoarl <7354010+Kikoarl@users.noreply.github.com> Date: Tue, 6 Oct 2026 20:59:47 +0200 Subject: [PATCH] fix(tools): count packed MIMG variants as decoded shader instructions ImageLoadPck, ImageLoadMipPck, ImageStorePck and ImageStoreMipPck are decoded and implemented for 2- and 4-dword transfers, but the disassembler and rdna_isa.txt list them under separate _PCK2 and _PCK4 mnemonics. Existing tests in ImageLoadPacked and ImageStorePacked already cover these dword counts. --- tools/progress.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/progress.py b/tools/progress.py index 81ceeea05..a0b5ae4e4 100644 --- a/tools/progress.py +++ b/tools/progress.py @@ -53,6 +53,10 @@ OPCODE_VARIANTS = { "VMacLegacyF32": ("V_FMAC_LEGACY_F32",), "VMadLegacyF32": ("V_FMA_LEGACY_F32",), "ImageSample": ("IMAGE_SAMPLE_L", "IMAGE_SAMPLE_B", "IMAGE_SAMPLE_C_LZ", "IMAGE_SAMPLE_L_O", "IMAGE_SAMPLE_D_CL_O"), + "ImageLoadPck": ("IMAGE_LOAD_PCK2", "IMAGE_LOAD_PCK4"), + "ImageLoadMipPck": ("IMAGE_LOAD_MIP_PCK2", "IMAGE_LOAD_MIP_PCK4"), + "ImageStorePck": ("IMAGE_STORE_PCK2", "IMAGE_STORE_PCK4"), + "ImageStoreMipPck": ("IMAGE_STORE_MIP_PCK2", "IMAGE_STORE_MIP_PCK4"), } REPORT_ROWS = 100 PANEL_WIDTH, GAP, MAP_HEIGHT, HEADER = 495, 10, 280, 30