swr: [rasterizer jitter] don't bother quantizing unused channels
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Nov 2016 18:17:27 +0000 (13:17 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 16 Nov 2016 01:24:50 +0000 (20:24 -0500)
commitb53a33feef2595fc71fadafa5857d5482514a724
treeff047bc5ba725f3de3e8dfe3aac4c337b4b06a26
parent5dd0b8d3c635b67d8274c64653d825b8855b8167
swr: [rasterizer jitter] don't bother quantizing unused channels

In a BGR10X2 or BGR5X1 situation, there's no need to try to quantize the
X channel - the default will have the proper quantization required.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/blend_jit.cpp