i965: Add missing _NEW_TEXTURE dirty bit to brw_vs_prog state atom.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Jan 2012 11:14:01 +0000 (03:14 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Jan 2012 23:07:40 +0000 (15:07 -0800)
Commit d45814c925dd6c479cfd383b9b59458fc4359cf7 totally added a data
dependency on _NEW_TEXTURE, even including the comment, but didn't
actually add the dirty bit.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vs.c

index 6eec9730755d45be72d3d8958f252c44f6bd6b02..be1ed001a44125db51ee2883d34306a27df1b6a9 100644 (file)
@@ -349,6 +349,7 @@ static void brw_upload_vs_prog(struct brw_context *brw)
 const struct brw_tracked_state brw_vs_prog = {
    .dirty = {
       .mesa  = (_NEW_TRANSFORM | _NEW_POLYGON | _NEW_POINT | _NEW_LIGHT |
+               _NEW_TEXTURE |
                _NEW_BUFFERS),
       .brw   = (BRW_NEW_VERTEX_PROGRAM |
                BRW_NEW_VERTICES),