meta: clear_state structure cleanup
authorTapani Pälli <tapani.palli@intel.com>
Fri, 11 Dec 2015 08:45:28 +0000 (10:45 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 14 Dec 2015 06:01:49 +0000 (08:01 +0200)
commit8b79258cfe11917b2f78b51fc24e6c583e6a0d74
tree0a1d5164e05b2fca1b9b7827bf86ac4987e3faa8
parenteca8f38dcffb700fdfe413a707d524e6a84bd453
meta: clear_state structure cleanup

Remove unused variables from clear_state and use a hardcoded location
for color uniform to get rid of 2 more variables. Modify shaders to use
explicit location for vertex attribute too as extension is enabled.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h