i965: Make the miptree clear color setter take a gl_color_union
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 29 Mar 2018 01:06:58 +0000 (18:06 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 9 Apr 2018 17:56:48 +0000 (10:56 -0700)
commit1d94aa19877fb702ffacacde28ad7253cce72c97
tree67b86e9fc96afb1bc100e738f33a69d7e6cc879f
parent3dbb49a97809cd3a9911d2782bb7b03f8ae1a7d8
i965: Make the miptree clear color setter take a gl_color_union

We want to hide the internal details of how the miptree's clear color
is calculated.

Reviewed-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/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h