diff options
author | Eric Anholt <[email protected]> | 2011-05-19 09:54:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-05-26 10:07:38 -0700 |
commit | 9a729ab4b273f503747209a9c58dbb664adca838 (patch) | |
tree | d172f137f26f0df34e4519e77da5300c2b30fa1a | |
parent | f147599ef4b0d14c25a7e0d3f9f1c9b0229bb6fc (diff) |
i965: Remove dead shadowtex_mask entry in the WM key.
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 61b2262cfa6..578890872f0 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -423,9 +423,6 @@ static void brw_wm_populate_key( struct brw_context *brw, } } - /* Shadow */ - key->shadowtex_mask = fp->program.Base.ShadowSamplers; - /* _NEW_BUFFERS */ /* * Include the draw buffer origin and height so that we can calculate diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h index e5f7a79a197..ccadb72db1c 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.h +++ b/src/mesa/drivers/dri/i965/brw_wm.h @@ -67,7 +67,6 @@ struct brw_wm_prog_key { GLuint clamp_fragment_color:1; GLbitfield proj_attrib_mask; /**< one bit per fragment program attribute */ - GLuint shadowtex_mask:16; GLuint yuvtex_mask:16; GLuint yuvtex_swap_mask:16; /* UV swaped */ uint16_t gl_clamp_mask[3]; |