anv: move restart index to gfx state
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17601>
This commit is contained in:

committed by
Marge Bot

parent
a9abf1dd93
commit
2bfcd29155
@@ -258,8 +258,8 @@ anv_cmd_state_init(struct anv_cmd_buffer *cmd_buffer)
|
||||
memset(state, 0, sizeof(*state));
|
||||
|
||||
state->current_pipeline = UINT32_MAX;
|
||||
state->restart_index = UINT32_MAX;
|
||||
anv_dynamic_state_init(&state->gfx.dynamic);
|
||||
state->gfx.restart_index = UINT32_MAX;
|
||||
state->gfx.dirty = ANV_CMD_DIRTY_DYNAMIC_ALL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user