mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
radeonsi: revert hack for random failures in glsl-max-varyings
This reverts commit 032e5548b3.
I've run glsl-max-varyings 30 times and it always passed.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
b9b0973db2
commit
a18f803a86
1 changed files with 1 additions and 7 deletions
|
|
@ -680,14 +680,8 @@ static void si_update_derived_state(struct si_context *sctx)
|
|||
|
||||
si_pm4_bind_state(sctx, ps, sctx->ps_shader->current->pm4);
|
||||
|
||||
if (si_pm4_state_changed(sctx, ps) || si_pm4_state_changed(sctx, vs)) {
|
||||
/* XXX: Emitting the PS state even when only the VS changed
|
||||
* fixes random failures with piglit glsl-max-varyings.
|
||||
* Not sure why...
|
||||
*/
|
||||
sctx->emitted.named.ps = NULL;
|
||||
if (si_pm4_state_changed(sctx, ps) || si_pm4_state_changed(sctx, vs))
|
||||
si_update_spi_map(sctx);
|
||||
}
|
||||
|
||||
if (sctx->ps_db_shader_control != sctx->ps_shader->current->db_shader_control) {
|
||||
sctx->ps_db_shader_control = sctx->ps_shader->current->db_shader_control;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue