iris: Drop res variable in resolve_sampler_views
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 8 Dec 2020 18:32:29 +0000 (10:32 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Dec 2020 22:28:38 +0000 (22:28 +0000)
commit04c7fce799ac18f4c2ab147c0a9780483befe527
tree2bdfff455eac74c31ada7e17c188a636d85d223c
parent1f7427f97216ce63308e810c79b0280a69ef43fc
iris: Drop res variable in resolve_sampler_views

Instead of storing isv->res in a local variable, just use it directly to
increase consistency with similar field accesses.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7996>
src/gallium/drivers/iris/iris_resolve.c