intel/blorp: Add indirect clear color support to mcs_partial_resolve
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 11 Nov 2017 22:28:17 +0000 (14:28 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Mar 2018 22:07:58 +0000 (14:07 -0800)
commitc34feaea527b66057c7b94302ad1aa932bfb8fd4
treef4e539fbf173f1275a73aee8739b1b408294c3a5
parentca7ab1a6a5041783edfcc4c181e7341d75dc98f7
intel/blorp: Add indirect clear color support to mcs_partial_resolve

This is a bit complicated because we have to get the indirect clear
color in there somehow.  In order to not do any more work in the shader
than needed, we set it up as it's own vertex binding which points
directly at the clear color address specified by the client.

Acked-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/intel/blorp/blorp_clear.c
src/intel/blorp/blorp_genX_exec.h
src/intel/blorp/blorp_priv.h