mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
zink: explicitly set non-optimal last_vertex_stage shader key on ctx create
this otherwise results in generated gs not having the flag set, which breaks various things cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24568>
This commit is contained in:
parent
12d997cd64
commit
ccc195c3a3
1 changed files with 1 additions and 0 deletions
|
|
@ -5195,6 +5195,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
|
|||
}
|
||||
|
||||
zink_set_last_vertex_key(ctx)->last_vertex_stage = true;
|
||||
ctx->gfx_pipeline_state.shader_keys.last_vertex.key.vs_base.last_vertex_stage = true;
|
||||
zink_set_tcs_key_patches(ctx, 1);
|
||||
if (!screen->optimal_keys) {
|
||||
ctx->gfx_pipeline_state.shader_keys.key[MESA_SHADER_VERTEX].size = sizeof(struct zink_vs_key_base);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue