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:
committed by
Marek Olšák
parent
03b9b3c471
commit
f5e685da06
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user