summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-07-15 20:06:01 +0200
committerMarek Olšák <[email protected]>2011-07-15 21:48:28 +0200
commit3032d064fb01d29bc4511362274a02a71e33c91f (patch)
tree58d33b1b504a14ccf26924161b8c09e62277b2a3 /src/mesa/swrast/s_span.c
parenteca3152de0de85aa87040dbe29b6279df0635b8e (diff)
swrast: remove an unused-but-set variable
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index f81de3c0c7b..db102ac7946 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -961,17 +961,6 @@ convert_color_type(SWspan *span, GLenum newType, GLuint output)
static INLINE void
shade_texture_span(struct gl_context *ctx, SWspan *span)
{
- GLbitfield inputsRead;
-
- /* Determine which fragment attributes are actually needed */
- if (ctx->FragmentProgram._Current) {
- inputsRead = ctx->FragmentProgram._Current->Base.InputsRead;
- }
- else {
- /* XXX we could be a bit smarter about this */
- inputsRead = ~0;
- }
-
if (ctx->FragmentProgram._Current ||
ctx->ATIFragmentShader._Enabled) {
/* programmable shading */