mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 16:40:31 +01:00
mesa: flag ST_NEW_RASTERIZER for !needs_texcoord_semantic if changing FS
This will be required with the next change, which will remove the rasterizer state dependency on _NEW_PROGRAM. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19859>
This commit is contained in:
parent
7950661aa0
commit
2a25b47c87
1 changed files with 3 additions and 0 deletions
|
|
@ -335,6 +335,9 @@ update_program(struct gl_context *ctx)
|
|||
dirty |= prev_fp_affected_states;
|
||||
if (ctx->FragmentProgram._Current)
|
||||
dirty |= ctx->FragmentProgram._Current->affected_states;
|
||||
|
||||
if (!ctx->st->needs_texcoord_semantic)
|
||||
dirty |= ST_NEW_RASTERIZER;
|
||||
}
|
||||
|
||||
if (cp_changed) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue