From: Brian Paul Date: Tue, 1 Sep 2009 21:58:49 +0000 (-0600) Subject: mesa: remove unused ureg:negateabs field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7ba2b8622d8a924b3ac4c7d94a3c19d12e88e03;p=mesa.git mesa: remove unused ureg:negateabs field --- 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;