projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed0315
)
mesa: remove unused ureg:negateabs field
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 21:58:49 +0000
(15:58 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2009 23:39:32 +0000
(17:39 -0600)
src/mesa/main/texenvprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenvprogram.c
b/src/mesa/main/texenvprogram.c
index
54960a1
..
869d8d0
100644
(file)
--- a/
src/mesa/main/texenvprogram.c
+++ b/
src/mesa/main/texenvprogram.c
@@
-458,9
+458,8
@@
struct ureg {
GLuint idx:8;
GLuint negatebase:1;
GLuint abs:1;
- GLuint negateabs:1;
GLuint swz:12;
- GLuint pad:
5
;
+ GLuint pad:
6
;
};
static const struct ureg undef = {
@@
-469,7
+468,6
@@
static const struct ureg undef = {
0,
0,
0,
- 0,
0
};
@@
-516,7
+514,6
@@
static struct ureg make_ureg(GLuint file, GLuint idx)
reg.idx = idx;
reg.negatebase = 0;
reg.abs = 0;
- reg.negateabs = 0;
reg.swz = SWIZZLE_NOOP;
reg.pad = 0;
return reg;