OSDN Git Service

i965: Split per miptree and per slice/level fast clear bits
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 10 Jun 2016 07:09:34 +0000 (10:09 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 25 Nov 2016 14:57:06 +0000 (16:57 +0200)
commitcec30a666930ddb8476a9452a89364a24979ff62
treea96a87f3dca2c5500268c1881ecbe9158222b7df
parent9c7717c066b4a315ed6dccd8a48d9eaf81a5b33f
i965: Split per miptree and per slice/level fast clear bits

Currently the status bits for fast clear include the flag telling
if non-multisampled mcs buffer should be used at all. Once the
state tracking is changed to follow individual levels/layers one
still needs to have the mcs enabling information in the miptree.
Therefore simply split it out to its own boolean.

Possible follow-up work is to combine disable_aux_buffers and
no_ccs into single enum.

v2 (Jason): Changed no_msrt_mcs to no_ccs and updated comment

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