mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user