projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b9b3c
)
mesa/main/ff_frag: Don't bother with VARYING_BIT_FOGC.
author
Gustaw Smolarczyk
<wielkiegie@gmail.com>
Thu, 30 Mar 2017 18:09:24 +0000
(20:09 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 8 Apr 2017 18:29:58 +0000
(20:29 +0200)
It's not used.
Signed-off-by: Gustaw Smolarczyk <wielkiegie@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/ff_fragment_shader.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/main/ff_fragment_shader.cpp
b/src/mesa/main/ff_fragment_shader.cpp
index 95c74e2b9210ff7391a91f8cc56eb9ecb45d1814..05641997dec17c7f81bb5df34975f975b92e9129 100644
(file)
--- 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;