m1n1.trace.agx: Decode VDM on G14X

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2024-01-17 17:34:01 +09:00
parent 9d9bcd564c
commit e41d51d222

View file

@ -1027,6 +1027,11 @@ class AGXTracer(ASCTracer):
self.log(f" tilemap @ {reg.data:#x}:")
data = read(reg.data, 0x100000)
chexdump(data, print_fn=self.log)
elif reg.number == 0x1c880:
if self.agxdecode:
self.log("Decode VDM")
self.uat.invalidate_cache()
self.agxdecode.libagxdecode_vdm(reg.data, b"VDM", True)
def handle_3d(self, wi):
self.log(f"Got 3D WI{wi.cmdid:d}")