intel/blorp: Handle 3-component formats in clears
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 12 Jul 2018 21:05:26 +0000 (14:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 Jul 2018 03:57:46 +0000 (20:57 -0700)
commitdaa78f30b6dbd95ca5838aa666000f8fd628c92c
tree29bb5b5beb1efda28f5fd19c5facb31b1f2f6454
parent11712b9ca17e4e1a819dcb7d020e19c6da77bc90
intel/blorp: Handle 3-component formats in clears

This fixes a nasty hang in Batman: Arkham City which apparently calls
vkCmdClearColorImage on a linear RGB image.

cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/blorp/blorp_blit.c
src/intel/blorp/blorp_clear.c
src/intel/blorp/blorp_priv.h