mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 10:30:23 +01:00
anv: fix missing 3DSTATE_SBE_CLIP emission
Fixes: 50f6903bd9 ("anv: add new low level emission & dirty state tracking")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25109>
This commit is contained in:
parent
05ebfa5463
commit
3fb3752e33
1 changed files with 4 additions and 0 deletions
|
|
@ -1236,6 +1236,9 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer)
|
|||
|
||||
if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_SBE_MESH))
|
||||
anv_batch_emit_pipeline_state(&cmd_buffer->batch, pipeline, final.sbe_mesh);
|
||||
|
||||
if (BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_CLIP_MESH))
|
||||
anv_batch_emit_pipeline_state(&cmd_buffer->batch, pipeline, final.clip_mesh);
|
||||
} else {
|
||||
assert(!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_MESH_CONTROL) &&
|
||||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_MESH_SHADER) &&
|
||||
|
|
@ -1243,6 +1246,7 @@ genX(cmd_buffer_flush_gfx_hw_state)(struct anv_cmd_buffer *cmd_buffer)
|
|||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_TASK_CONTROL) &&
|
||||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_TASK_SHADER) &&
|
||||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_TASK_REDISTRIB) &&
|
||||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_CLIP_MESH) &&
|
||||
!BITSET_TEST(hw_state->dirty, ANV_GFX_STATE_SBE_MESH));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue