mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
Fix some breakage after the PROGRAM_UNDEFINED change
This commit is contained in:
parent
7196cddb3a
commit
8d97265711
1 changed files with 2 additions and 2 deletions
|
|
@ -258,7 +258,7 @@ struct ureg {
|
|||
};
|
||||
|
||||
static const struct ureg undef = {
|
||||
~0,
|
||||
PROGRAM_UNDEFINED,
|
||||
~0,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -334,7 +334,7 @@ static struct ureg negate( struct ureg reg )
|
|||
|
||||
static GLboolean is_undef( struct ureg reg )
|
||||
{
|
||||
return reg.file == 0xf;
|
||||
return reg.file == PROGRAM_UNDEFINED;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue