@@ -696,14 +696,15 @@ class ComputeInfo(ConstructClass):
696696 "iogpu_deflake_5" / Int64ul , # size 8, null
697697 "pipeline_base" / Int64ul , # 0x11_00000000: Used for certain "short" pointers like pipelines (and shaders?)
698698 "unk_38" / Int64ul , # always 0x8c60
699- "unk_40 " / Int32ul , # 0x98000; bit 0: explicit thread layout?
699+ "helper_program " / Int32ul , # 0x98000; bit 0: enable
700700 "unk_44" / Int32ul , # 0
701701 "compute_layout_addr" / Int64ul , # work layout
702702 "unk_50" / Int32ul , # 0x40 - Size? only if work layout is provided
703703 "unk_54" / Int32ul , # 0
704704 "unk_58" / Int32ul , # 1
705705 "unk_5c" / Int32ul , # 0
706706 "iogpu_unk_40" / Int32ul , # 0x1c
707+ "unk_pad" / ZPadding (0xec ),
707708 )
708709
709710# Related to "IOGPU Misc"
@@ -713,7 +714,9 @@ class ComputeInfo2(ConstructClass):
713714 "unk_0" / HexDump (Bytes (0x24 )),
714715 "iogpu_deflake_1" / Int64ul ,
715716 "encoder_end" / Int64ul ,
716- "unk_34" / HexDump (Bytes (0x28 )),
717+ "unk_34" / HexDump (Bytes (0x20 )),
718+ "unk_g14x" / Int32ul ,
719+ "unk_58" / Int32ul ,
717720 Ver ("V < V13_0B4" , "unk_5c" / ZPadding (4 )),
718721 )
719722
@@ -722,7 +725,7 @@ class StartComputeCmd(ConstructClass):
722725 "magic" / Const (0x29 , Int32ul ),
723726 "unk_buf_addr" / Int64ul , # Pointer to WorkCommandCP.unk_buf
724727 "computeinfo_addr" / Int64ul ,
725- "computeinfo" / ROPointer ( this . computeinfo_addr , ComputeInfo ),
728+ Ver ( "G >= G14X" , "registers_addr" / Int64ul ),
726729 "stats_ptr" / Int64ul ,
727730 "cmdqueue_ptr" / Int64ul ,
728731 "context_id" / Int32ul , # 4
@@ -750,7 +753,7 @@ class FinalizeComputeCmd(ConstructClass):
750753 "cmdqueue_ptr" / Int64ul , # points back to the submitinfo
751754 "context_id" / Int32ul ,
752755 Ver ("V < V13_0B4" , "unk_18" / Int32ul ),
753- "unkptr_1c " / Int64ul , # same as ComputeStartCmd.unkptr_3c
756+ "computeinfo2_addr " / Int64ul , # same as ComputeStartCmd.unkptr_3c
754757 "unk_24" / Int32ul ,
755758 "uuid" / Int32ul , # uuid for tracking?
756759 "stamp" / Int64ul ,
0 commit comments