llvmpipe: Fix variable name.
authorVinson Lee <vlee@freedesktop.org>
Sat, 23 May 2020 00:08:04 +0000 (17:08 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 23 May 2020 20:30:15 +0000 (20:30 +0000)
commit76a2aeeef3d314e3eb1f35029e1e86bf69ad5689
tree9cd69c10540ef56ba0428f7e300df662f1dc220d
parent4e147e2c94e20d144d55996de288d6737e5a76f1
llvmpipe: Fix variable name.

Fix warning reported by Coverity Scan.

Unused value (UNUSED_VALUE)
assigned_value: Assigning value from res->nr_samples to
jit_tex->sample_stride here, but that stored value is overwritten before
it can be used.

Fixes: 2e5cddacf7fb ("llvmpipe: add num_samples/sample_stride support to jit textures")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3022
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5179>
src/gallium/drivers/llvmpipe/lp_setup.c