From ea88b1de2fb589221b2d12595706daf712e4abd8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 2 Sep 2014 08:55:55 +1000 Subject: [PATCH] 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 --- src/gallium/drivers/nouveau/nv30/nv40_verttex.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2