diff options
author | Brian <[email protected]> | 2008-02-25 16:20:04 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-25 16:20:04 -0700 |
commit | f41e95755757cb1452697fafa1dd5288390ed57e (patch) | |
tree | f6fa144948f0d8db9b9a63c6e15a6d4d406e030f /src/gallium/drivers/i915simple/i915_state.c | |
parent | b53110c78941e7fcaa41921cce07ca00ec117a97 (diff) |
gallium/i915: need to recompute vertex info if vertex shader changes
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_state.c')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state.c b/src/gallium/drivers/i915simple/i915_state.c index e4288d4e319..a35bdf941fc 100644 --- a/src/gallium/drivers/i915simple/i915_state.c +++ b/src/gallium/drivers/i915simple/i915_state.c @@ -474,6 +474,8 @@ static void i915_bind_vs_state(struct pipe_context *pipe, void *shader) /* just pass-through to draw module */ draw_bind_vertex_shader(i915->draw, (struct draw_vertex_shader *) shader); + + i915->dirty |= I915_NEW_VS; } static void i915_delete_vs_state(struct pipe_context *pipe, void *shader) |