summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-01-05 17:32:19 +0000
committerJosé Fonseca <[email protected]>2010-01-05 17:32:53 +0000
commit8ebef37c7ba67c4449367b95821293176a0a370b (patch)
treed803c5c435c45c32912ca00c56cf28f96e9b6cbe /src/gallium/drivers/svga/svga_context.h
parentef1b9426918a29b7ddd28601b0e53ed683abb89a (diff)
svga: Rebind shaders when tokens change.
Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
-rw-r--r--src/gallium/drivers/svga/svga_context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h
index eb666c2616b..32e9304f819 100644
--- a/src/gallium/drivers/svga/svga_context.h
+++ b/src/gallium/drivers/svga/svga_context.h
@@ -268,8 +268,6 @@ struct svga_hw_draw_state
unsigned ts[16][TS_MAX];
float cb[PIPE_SHADER_TYPES][CB_MAX][4];
- unsigned shader_id[PIPE_SHADER_TYPES];
-
struct svga_shader_result *fs;
struct svga_shader_result *vs;
struct svga_hw_view_state views[PIPE_MAX_SAMPLERS];