mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
gallium: initialize the killmask register to zero before running shader
This fixes mysterious missing fragments when running with SSE.
This commit is contained in:
parent
4ec46e4869
commit
75a4524f2c
1 changed files with 3 additions and 0 deletions
|
|
@ -124,6 +124,9 @@ fs_sse_run( struct sp_fragment_shader *base,
|
|||
(float)quad->x0, (float)quad->y0,
|
||||
machine->Temps);
|
||||
|
||||
/* init kill mask */
|
||||
machine->Temps[TGSI_EXEC_TEMP_KILMASK_I].xyzw[TGSI_EXEC_TEMP_KILMASK_C].u[0] = 0x0;
|
||||
|
||||
shader->func( machine->Inputs,
|
||||
machine->Outputs,
|
||||
machine->Consts,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue