mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-08 11:50:29 +01:00
tgsi_exec: Fix mask calculation for emit_kill_if.
Same as Si Chen's commit e7a5905d8a for
tgsi_exec module.
Not actually tested, because softpipe is failing the test that caught
this bug due to unrelated issues.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
bba8f10598
commit
edd9efc2fb
1 changed files with 3 additions and 0 deletions
|
|
@ -1610,6 +1610,9 @@ exec_kill_if(struct tgsi_exec_machine *mach,
|
|||
kilmask |= 1 << i;
|
||||
}
|
||||
|
||||
/* restrict to fragments currently executing */
|
||||
kilmask &= mach->ExecMask;
|
||||
|
||||
mach->Temps[TEMP_KILMASK_I].xyzw[TEMP_KILMASK_C].u[0] |= kilmask;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue