mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
anv: drop duplicated 3DSTATE_SLICE_TABLE_STATE_POINTERS emission
Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27985>
This commit is contained in:
parent
1d8b2b159e
commit
c82edb4e8f
1 changed files with 1 additions and 9 deletions
|
|
@ -365,15 +365,7 @@ genX(cmd_buffer_emit_state_base_address)(struct anv_cmd_buffer *cmd_buffer)
|
|||
assert(cmd_buffer->state.current_db_mode !=
|
||||
ANV_CMD_DESCRIPTOR_BUFFER_MODE_UNKNOWN);
|
||||
if (db_mode_changed) {
|
||||
#if GFX_VER == 11
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_SLICE_TABLE_STATE_POINTERS), ptr) {
|
||||
ptr.SliceHashStatePointerValid = true;
|
||||
ptr.SliceHashTableStatePointer = cmd_buffer->state.current_db_mode ==
|
||||
ANV_CMD_DESCRIPTOR_BUFFER_MODE_BUFFER ?
|
||||
device->slice_hash_db.offset :
|
||||
device->slice_hash.offset;
|
||||
}
|
||||
#elif GFX_VERx10 == 125
|
||||
#if GFX_VER == 11 || GFX_VER == 125
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_SLICE_TABLE_STATE_POINTERS), ptr) {
|
||||
ptr.SliceHashStatePointerValid = true;
|
||||
ptr.SliceHashTableStatePointer = cmd_buffer->state.current_db_mode ==
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue