summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGustaw Smolarczyk <[email protected]>2017-03-30 20:09:24 +0200
committerMarek Olšák <[email protected]>2017-04-08 20:29:58 +0200
commitf5e685da06a224e77f33d5d9e22ebcecc32c139c (patch)
tree0573b8a5e2c8b3f5b379d5a408c599448772607b /src
parent03b9b3c4713befd0b8636b0bc607704672be2451 (diff)
mesa/main/ff_frag: Don't bother with VARYING_BIT_FOGC.
It's not used. Signed-off-by: Gustaw Smolarczyk <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/ff_fragment_shader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
index 95c74e2b921..05641997dec 100644
--- a/src/mesa/main/ff_fragment_shader.cpp
+++ b/src/mesa/main/ff_fragment_shader.cpp
@@ -449,10 +449,8 @@ static GLuint make_state_key( struct gl_context *ctx, struct state_key *key )
}
/* _NEW_FOG */
- if (ctx->Fog.Enabled) {
+ if (ctx->Fog.Enabled)
key->fog_mode = translate_fog_mode(ctx->Fog.Mode);
- inputs_referenced |= VARYING_BIT_FOGC; /* maybe */
- }
/* _NEW_BUFFERS */
key->num_draw_buffers = ctx->DrawBuffer->_NumColorDrawBuffers;