intel/blorp: Swizzle clear colors on the CPU
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 8 Feb 2017 20:47:01 +0000 (12:47 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Feb 2017 17:24:43 +0000 (09:24 -0800)
commite233db6e93e523952577d0314ed68276bda34479
tree173b1c0cf0f3d22c6c90b6257bdaf22fc39e025a
parentbd1c61261f2d5946dd49f561d330f776a939d705
intel/blorp: Swizzle clear colors on the CPU

It's trivial to swizzle clear colors on the CPU, easily deals with the
hardware restrictions for render target swizzles, and makes swizzled
clears work on all hardware as opposed to just HSW+.

Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
src/intel/blorp/blorp_clear.c