r600: Don't set TES_EVAL UCP dirty when it is not supported

Fixes: 3340c7ce35
    r600/sfn: lower CLIPVERTEX to clip planes

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17793>
This commit is contained in:
Gert Wollny 2022-07-28 17:28:35 +02:00
parent 97708505d7
commit 91c0d46afd

View File

@ -284,8 +284,9 @@ static void r600_set_clip_state(struct pipe_context *ctx,
rctx->clip_state.state = *state;
r600_mark_atom_dirty(rctx, &rctx->clip_state.atom);
rctx->driver_consts[PIPE_SHADER_VERTEX].vs_ucp_dirty = true;
rctx->driver_consts[PIPE_SHADER_TESS_EVAL].vs_ucp_dirty = true;
rctx->driver_consts[PIPE_SHADER_GEOMETRY].vs_ucp_dirty = true;
if (rctx->b.family >= CHIP_CEDAR)
rctx->driver_consts[PIPE_SHADER_TESS_EVAL].vs_ucp_dirty = true;
}
static void r600_set_stencil_ref(struct pipe_context *ctx,