mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
cell: Fix build after TGSI declaration interface changes.
This commit is contained in:
parent
56fc7690d7
commit
347d28fd20
1 changed files with 3 additions and 5 deletions
|
|
@ -830,13 +830,11 @@ exec_declaration(struct spu_exec_machine *mach,
|
|||
unsigned first, last, mask;
|
||||
interpolation_func interp;
|
||||
|
||||
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;
|
||||
|
||||
switch( decl->Interpolation.Interpolate ) {
|
||||
switch( decl->Declaration.Interpolate ) {
|
||||
case TGSI_INTERPOLATE_CONSTANT:
|
||||
interp = constant_interpolation;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue