i965/meta: Split conversion of color and setting it
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Sun, 12 Jun 2016 17:49:54 +0000 (20:49 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 23 Nov 2016 09:06:53 +0000 (11:06 +0200)
commit7c75fd9a5971d59e215ab2f04b4c06c3399d0211
tree12b7a406812851e44ade86313e78996f3b7934b6
parentf19e0967c993f5f60b4cc80e6bac00f1286494ab
i965/meta: Split conversion of color and setting it

And fix a mangled comment while at it.

v2 (Ben): Return the converted color.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_meta_util.c
src/mesa/drivers/dri/i965/brw_meta_util.h