radeonsi: use level mask for early out in si_blit_decompress_color
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 22 Apr 2016 20:27:33 +0000 (15:27 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 16:16:40 +0000 (11:16 -0500)
commit450ff0f0d5d603bb36ca3fbd9c871c9e8553baab
treef7a799f3a029d15bf38a55b1b2971859ec17489b
parent0ff05b55c62d0a809f3beb46ac587d4952ded59a
radeonsi: use level mask for early out in si_blit_decompress_color

Mostly for consistency with the other decompress functions, but note that
in the non-DCC decompress case, the function can now early-out in slightly
more (albeit probably rare) cases.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_blit.c