mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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:
parent
03b9b3c471
commit
f5e685da06
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue