anv: fix dirty state tracking for 3DSTATE_PUSH_CONSTANT_ALLOC
ANV_CMD_DIRTY_PIPELINE also includes reprogramming of
3DSTATE_PUSH_CONSTANT_ALLOC_* instructions.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 50f6903bd9
("anv: add new low level emission & dirty state tracking")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26247>
This commit is contained in:

committed by
Marge Bot

parent
1257d08bcb
commit
9689607f10
@@ -394,8 +394,7 @@ blorp_exec_on_render(struct blorp_batch *batch,
|
|||||||
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_PS_BLEND);
|
BITSET_SET(hw_state->dirty, ANV_GFX_STATE_PS_BLEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
anv_cmd_dirty_mask_t dirty = ~(ANV_CMD_DIRTY_PIPELINE |
|
anv_cmd_dirty_mask_t dirty = ~(ANV_CMD_DIRTY_INDEX_BUFFER |
|
||||||
ANV_CMD_DIRTY_INDEX_BUFFER |
|
|
||||||
ANV_CMD_DIRTY_XFB_ENABLE);
|
ANV_CMD_DIRTY_XFB_ENABLE);
|
||||||
|
|
||||||
cmd_buffer->state.gfx.vb_dirty = ~0;
|
cmd_buffer->state.gfx.vb_dirty = ~0;
|
||||||
|
Reference in New Issue
Block a user