Mesa (master): mesa/main/ff_frag: Don't bother with VARYING_BIT_FOGC.
Marek Olšák
mareko at kemper.freedesktop.org
Sat Apr 8 20:08:03 UTC 2017
Module: Mesa
Branch: master
Commit: f5e685da06a224e77f33d5d9e22ebcecc32c139c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f5e685da06a224e77f33d5d9e22ebcecc32c139c
Author: Gustaw Smolarczyk <wielkiegie at gmail.com>
Date: Thu Mar 30 20:09:24 2017 +0200
mesa/main/ff_frag: Don't bother with VARYING_BIT_FOGC.
It's not used.
Signed-off-by: Gustaw Smolarczyk <wielkiegie at gmail.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
---
src/mesa/main/ff_fragment_shader.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp
index 95c74e2b92..05641997de 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;
More information about the mesa-commit
mailing list