iris: move variable to the scope where it is being used
authorTapani Pälli <tapani.palli@intel.com>
Tue, 2 Apr 2019 06:12:21 +0000 (09:12 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 4 Apr 2019 04:43:20 +0000 (04:43 +0000)
commit41f76dd513b03e7e7490c0f766e47dcf813a607f
treec6a22fe4139a64db8ea4dbb5e239c9acd2effd75
parent3cea9f981a14db797afb10225623acb96bd1c107
iris: move variable to the scope where it is being used

iris_upload_border_color is passed a pointer which points to
variable that is introduced in a different scope.

CID: 1444296
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_state.c