OSDN Git Service

i965/blorp: Do prepare/finish manually
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 24 Jun 2017 00:22:24 +0000 (17:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 23 Jul 2017 03:59:22 +0000 (20:59 -0700)
commit0f9b609cf4f58ca1564c702ce32e7319a2d06a47
tree64f3d619dda86d59cc05a494b60edc24fbee64c9
parentbaa9e059659ed834d084ee4faf6271a8dd508494
i965/blorp: Do prepare/finish manually

Our attempts to do it automatically are problematic at best.  In order
to really be precise, we need to know both the desired aux usage and
whether or not clear is supported.  The current automatic mechanism
doesn't cover this.  This commit itself is not a functional change since
it just reworks everything to be in terms of a silly helper.  Later
commits will switch things over to more sensible ways of choosing usage.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c