Merge pull request #380 from DotDebian/fix/progress-count-sopp-shared-opcodes

fix(tools): count the debug branches and s_ttracedata_imm as decoded shader instructions
This commit is contained in:
Dean
2026-10-04 14:13:51 +13:00
committed by GitHub
+2
View File
@@ -40,6 +40,8 @@ OPCODE_VARIANTS = {
"SCmpLtU32": ("S_CMPK_LT_U32",),
"SCmpLeU32": ("S_CMPK_LE_U32",),
"SWaitcnt": ("S_WAITCNT_VSCNT",),
"STtracedata": ("S_TTRACEDATA_IMM",),
"SCbranchCdbg": ("S_CBRANCH_CDBGSYS", "S_CBRANCH_CDBGUSER", "S_CBRANCH_CDBGSYS_OR_USER", "S_CBRANCH_CDBGSYS_AND_USER"),
"VAddI32": ("V_ADD_CO_U32",),
"VSubrevI32": ("V_SUBREV_CO_U32",),
"ImageSample": ("IMAGE_SAMPLE_L", "IMAGE_SAMPLE_B", "IMAGE_SAMPLE_C_LZ", "IMAGE_SAMPLE_L_O", "IMAGE_SAMPLE_D_CL_O"),