i965: fix an error in brw_vs_tnl.c
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 20 Sep 2007 09:42:13 +0000 (17:42 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 20 Sep 2007 09:42:13 +0000 (17:42 +0800)
if the state of TEXMAT is changed, the VS isn't updated.

src/mesa/drivers/dri/i965/brw_vs_tnl.c

index 2ed80dc36e964a19d33fc7668bb5a22e8e519f80..27210d1a3741c44b5bcf8071c122b6177f69538e 100644 (file)
@@ -1628,7 +1628,8 @@ const struct brw_tracked_state brw_tnl_vertprog = {
               _NEW_FOG | 
               _NEW_HINT | 
               _NEW_POINT | 
-              _NEW_TEXTURE),
+              _NEW_TEXTURE |
+          _NEW_TEXTURE_MATRIX),
       .brw = (BRW_NEW_FRAGMENT_PROGRAM | 
              BRW_NEW_INPUT_VARYING),
       .cache = 0