From 37f202a54ad86b8d6dab04b2f2a4785bb024576d Mon Sep 17 00:00:00 2001 From: Matt Coster Date: Fri, 28 Apr 2023 10:11:07 +0100 Subject: [PATCH] pvr: Remove false assumption from pvr_write_draw_indirect_vdm_stream() Partially reverts: bd513059433a6bbda8ce0f95b85dcc76d48f959c pvr: Minor cleanup around pvr_emit_vdm_index_list() Signed-off-by: Matt Coster Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_cmd_buffer.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/imagination/vulkan/pvr_cmd_buffer.c b/src/imagination/vulkan/pvr_cmd_buffer.c index ffd24d6..87d293c 100644 --- a/src/imagination/vulkan/pvr_cmd_buffer.c +++ b/src/imagination/vulkan/pvr_cmd_buffer.c @@ -6112,14 +6112,10 @@ pvr_write_draw_indirect_vdm_stream(struct pvr_cmd_buffer *cmd_buffer, struct pvr_pds_drawindirect_program pds_prog = { 0 }; uint32_t word0; - /* Draw indirect always has index offset and instance count... */ + /* Draw indirect always has index offset and instance count. */ list_hdr->index_offset_present = true; list_hdr->index_instance_count_present = true; - /* ...and requires a zeroed index_base_addr. */ - list_hdr->index_base_addrmsb = PVR_DEV_ADDR_INVALID; - assert(!list_hdr->index_addr_present); - pvr_cmd_pack(VDMCTRL_INDEX_LIST0)(&word0, list_hdr); pds_prog.support_base_instance = true; -- 2.7.4