summaryrefslogtreecommitdiff
path: root/src/mesa/main/texenvprogram.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-01 15:58:49 -0600
committerBrian Paul <brianp@vmware.com>2009-09-01 17:39:32 -0600
commitc7ba2b8622d8a924b3ac4c7d94a3c19d12e88e03 (patch)
treeac54029e5bf6fc189c014ba5dcdca18d7f71b633 /src/mesa/main/texenvprogram.c
parent9ed0315271c38f5fe9cdd65020a54cbb7f61ed2b (diff)
mesa: remove unused ureg:negateabs field
Diffstat (limited to 'src/mesa/main/texenvprogram.c')
-rw-r--r--src/mesa/main/texenvprogram.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 54960a1fa14..869d8d026be 100644
--- 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;