st/va: move variable declaration to where its used
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 25 Nov 2016 17:52:28 +0000 (17:52 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:46:46 +0000 (19:46 +0100)
commitc34a008891626e9fa76324676a71e5928fd9c0fb
tree4ab6e6807bbb1a99d93c62e2ebf418ef09f11170
parent369e5dd939b4af6c653d6cbbe9be257a9c2c950e
st/va: move variable declaration to where its used

... and make it const, since we shouldn't tinker with it.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/context.c