diff options
author | Michal Krol <michal@tungstengraphics.com> | 2008-05-31 19:48:13 +0200 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2008-05-31 19:48:13 +0200 |
commit | a49381587f73c67469ec7546419cfc41387f938c (patch) | |
tree | a122bec2b1314d6f8e7ad2252317f92abd133b29 /src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c | |
parent | 3de18c2ac3cf679875d22d7ae9e62a11f5ea03c9 (diff) |
tgsi: Fix build after TGSI declaration interface changes.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c')
-rwxr-xr-x | src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c index 189dc6024d..a59e22b6ea 100755 --- a/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c +++ b/src/gallium/auxiliary/tgsi/exec/tgsi_sse2.c @@ -1923,16 +1923,14 @@ emit_declaration( unsigned first, last, mask; unsigned i, j; - assert( decl->Declaration.Declare == TGSI_DECLARE_RANGE ); - - first = decl->u.DeclarationRange.First; - last = decl->u.DeclarationRange.Last; + first = decl->DeclarationRange.First; + last = decl->DeclarationRange.Last; mask = decl->Declaration.UsageMask; for( i = first; i <= last; i++ ) { for( j = 0; j < NUM_CHANNELS; j++ ) { if( mask & (1 << j) ) { - switch( decl->Interpolation.Interpolate ) { + switch( decl->Declaration.Interpolate ) { case TGSI_INTERPOLATE_CONSTANT: emit_coef_a0( func, 0, i, j ); emit_inputs( func, 0, i, j ); |