summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2014-09-02 08:55:55 +1000
committerDave Airlie <[email protected]>2014-09-02 10:04:29 +1000
commitea88b1de2fb589221b2d12595706daf712e4abd8 (patch)
tree420c9ba64b1dde72446b3d13da0522f90c45f974
parentd0cd86686d96dcc9e76be52f1907758d0cab990d (diff)
nouveau/nv40: quiten coverity warning in unused vertex texture code.
This fixes the code, but we never run it anyways, so silence coverity. Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/nv30/nv40_verttex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv30/nv40_verttex.c b/src/gallium/drivers/nouveau/nv30/nv40_verttex.c
index 5c7fc62d5d1..48b8c5a5ff2 100644
--- a/src/gallium/drivers/nouveau/nv30/nv40_verttex.c
+++ b/src/gallium/drivers/nouveau/nv30/nv40_verttex.c
@@ -42,6 +42,7 @@ nv40_verttex_validate(struct nv30_context *nv30)
BEGIN_NV04(push, NV40_3D(VTXTEX_ENABLE(unit)), 1);
PUSH_DATA (push, 0);
}
+ dirty &= ~(1 << unit);
}
nv30->vertprog.dirty_samplers = 0;