mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 20:50:31 +01:00
softpipe: Initialise TGSI machine's Face.
This commit is contained in:
parent
cc35a454da
commit
cc93fa3527
1 changed files with 7 additions and 1 deletions
|
|
@ -126,7 +126,13 @@ exec_run( const struct sp_fragment_shader *base,
|
|||
setup_pos_vector(quad->posCoef,
|
||||
(float)quad->input.x0, (float)quad->input.y0,
|
||||
&machine->QuadPos);
|
||||
|
||||
|
||||
if (quad->input.facing) {
|
||||
machine->Face = -1.0f;
|
||||
} else {
|
||||
machine->Face = 1.0f;
|
||||
}
|
||||
|
||||
quad->inout.mask &= tgsi_exec_machine_run( machine );
|
||||
if (quad->inout.mask == 0)
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue