projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7e5a5
)
use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating immediates/literals
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 18 Jan 2008 19:45:27 +0000
(12:45 -0700)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 24 Sep 2008 17:13:46 +0000
(10:13 -0700)
(cherry picked from commit
fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8
)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index be0b69b199837975832625f93d65359f2df7042e..bcf910222448c3606ef00fbe68d77adfb4877a65 100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-595,7
+595,7
@@
static struct ureg register_const4f( struct texenv_fragment_program *p,
idx = _mesa_add_unnamed_constant( p->program->Base.Parameters, values, 4,
&swizzle );
ASSERT(swizzle == SWIZZLE_NOOP);
- return make_ureg(PROGRAM_
STATE_VAR
, idx);
+ return make_ureg(PROGRAM_
CONSTANT
, idx);
}
#define register_scalar_const(p, s0) register_const4f(p, s0, s0, s0, s0)