mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
radeonsi: Emit pixel shader state even when only the vertex shader changed
Fixes random failures with piglit glsl-max-varyings.
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Christian König <christian.koenig@amd.com>
(cherry picked from commit 032e5548b3)
This commit is contained in:
parent
0c5fa7ae0e
commit
e0af764882
1 changed files with 5 additions and 0 deletions
|
|
@ -401,6 +401,11 @@ static void si_update_derived_state(struct r600_context *rctx)
|
|||
}
|
||||
|
||||
if (si_pm4_state_changed(rctx, ps) || si_pm4_state_changed(rctx, vs)) {
|
||||
/* XXX: Emitting the PS state even when only the VS changed
|
||||
* fixes random failures with piglit glsl-max-varyings.
|
||||
* Not sure why...
|
||||
*/
|
||||
rctx->emitted.named.ps = NULL;
|
||||
si_update_spi_map(rctx);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue