From: Dave Airlie Date: Mon, 1 Sep 2014 22:55:55 +0000 (+1000) Subject: nouveau/nv40: quiten coverity warning in unused vertex texture code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea88b1de2fb589221b2d12595706daf712e4abd8;p=mesa.git 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 --- 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;