Skip to content

Commit 87fa247

Browse files
hoshinolinamarcan
authored andcommitted
m1n1.fw.agx.microsequence: Identify visibility_result_buffer field
Signed-off-by: Asahi Lina <[email protected]>
1 parent 444c3c8 commit 87fa247

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

proxyclient/m1n1/agx/render.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def submit(self, cmdbuf, wait_for=None):
521521
wc_3d.struct_1.unk_44_padding = bytes(0xac)
522522
wc_3d.struct_1.depth_bias_array = Start3DArrayAddr(cmdbuf.depth_bias_array)
523523
wc_3d.struct_1.scissor_array = Start3DArrayAddr(cmdbuf.scissor_array)
524-
wc_3d.struct_1.unk_110 = 0x0
524+
wc_3d.struct_1.visibility_result_buffer = 0x0
525525
wc_3d.struct_1.unk_118 = 0x0
526526
wc_3d.struct_1.unk_120 = [0] * 37
527527
wc_3d.struct_1.unk_reload_pipeline = Start3DClearPipelineBinding(
@@ -577,7 +577,7 @@ def submit(self, cmdbuf, wait_for=None):
577577
wc_3d.struct_2.aux_fb = wc_3d.struct_1.aux_fb
578578
# ISP_ZLS_PIXELS
579579
wc_3d.struct_2.depth_dimensions = wc_3d.struct_1.depth_dimensions
580-
wc_3d.struct_2.unk_48 = 0x0
580+
wc_3d.struct_2.visibility_result_buffer = 0x0
581581
# ISP_ZLSCTL
582582
wc_3d.struct_2.depth_flags = cmdbuf.ds_flags
583583
wc_3d.struct_2.unk_58_g14_0 = 0x4040404

proxyclient/m1n1/fw/agx/microsequence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class Start3DStruct1(ConstructClass):
221221
"unk_44_padding" / HexDump(Bytes(0xac)),
222222
"depth_bias_array" / Start3DArrayAddr,
223223
"scissor_array" / Start3DArrayAddr,
224-
"unk_110" / Int64ul,
224+
"visibility_result_buffer" / Int64ul,
225225
"unk_118" / Int64ul,
226226
"unk_120" / Array(37, Int64ul),
227227
"unk_reload_pipeline" / Start3DClearPipelineBinding,
@@ -272,7 +272,7 @@ class Start3DStruct2(ConstructClass):
272272
"depth_bias_array" / Int64ul,
273273
"aux_fb" / AuxFBInfo,
274274
"depth_dimensions" / Int64ul,
275-
"unk_48" / Int64ul,
275+
"visibility_result_buffer" / Int64ul,
276276
"depth_flags" / Int64ul, # 0x40000 - has stencil 0x80000 - has depth
277277
Ver("G >= G14", "unk_58_g14_0" / Int64ul),
278278
Ver("G >= G14", "unk_58_g14_8" / Int64ul),

0 commit comments

Comments
 (0)