mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
zink: assign separate shader prog stages from ctx->shader_stages
this is functionally equivalent given the checks above which already restrict which stages can be passed Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22671>
This commit is contained in:
parent
7415627853
commit
01694e5bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -1156,7 +1156,7 @@ create_gfx_program_separable(struct zink_context *ctx, struct zink_shader **stag
|
|||
prog->is_separable = true;
|
||||
prog->gfx_hash = ctx->gfx_hash;
|
||||
|
||||
prog->stages_remaining = prog->stages_present = shader_stages;
|
||||
prog->stages_remaining = prog->stages_present = ctx->shader_stages;
|
||||
memcpy(prog->shaders, stages, sizeof(prog->shaders));
|
||||
prog->last_vertex_stage = ctx->last_vertex_stage;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue