mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
tgsi: partially unbreak sse fragment shaders. more to do.
This commit is contained in:
parent
a856b399e6
commit
f3f7ff2573
1 changed files with 0 additions and 8 deletions
|
|
@ -2169,14 +2169,6 @@ emit_declaration(
|
|||
last = decl->u.DeclarationRange.Last;
|
||||
mask = decl->Declaration.UsageMask;
|
||||
|
||||
/* Do not touch WPOS.xy */
|
||||
if( first == 0 ) {
|
||||
mask &= ~TGSI_WRITEMASK_XY;
|
||||
if( mask == TGSI_WRITEMASK_NONE ) {
|
||||
first++;
|
||||
}
|
||||
}
|
||||
|
||||
for( i = first; i <= last; i++ ) {
|
||||
for( j = 0; j < NUM_CHANNELS; j++ ) {
|
||||
if( mask & (1 << j) ) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue