projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d97265
)
Fixup more PROGRAM_UNDEFINED problems.
author
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 10 Aug 2006 13:14:24 +0000
(13:14 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Thu, 10 Aug 2006 13:14:24 +0000
(13:14 +0000)
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index 3a66a54715e981ac3236c8af260912c464a39466..894a13b7046ee5b63464989ba1e6942e3f20a515 100644
(file)
--- a/
src/mesa/tnl/t_vp_build.c
+++ b/
src/mesa/tnl/t_vp_build.c
@@
-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 )