mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 22:50:37 +02:00
Fixup more PROGRAM_UNDEFINED problems.
This commit is contained in:
parent
8d97265711
commit
a89b099c74
1 changed files with 2 additions and 2 deletions
|
|
@ -273,7 +273,7 @@ struct tnl_program {
|
|||
|
||||
|
||||
static const struct ureg undef = {
|
||||
~0,
|
||||
PROGRAM_UNDEFINED,
|
||||
~0,
|
||||
0,
|
||||
0,
|
||||
|
|
@ -397,7 +397,7 @@ static struct ureg register_const4f( struct tnl_program *p,
|
|||
|
||||
static GLboolean is_undef( struct ureg reg )
|
||||
{
|
||||
return reg.file == 0xf;
|
||||
return reg.file == PROGRAM_UNDEFINED;
|
||||
}
|
||||
|
||||
static struct ureg get_identity_param( struct tnl_program *p )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue