mesa/main/ff_frag: Don't bother with VARYING_BIT_FOGC.

It's not used.

Signed-off-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Gustaw Smolarczyk 2017-03-30 20:09:24 +02:00 committed by Marek Olšák
parent 03b9b3c471
commit f5e685da06

View file

@ -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;