radeonsi: expand the compressed color and depth texture masks to 64 bits
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Apr 2016 16:58:42 +0000 (11:58 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Apr 2016 18:15:06 +0000 (13:15 -0500)
commit9d2693f58ad27464aabf556e7d6bd4c4eb0fd591
tree7de8e0b09210f634281a5164f541b5b4e946b4da
parentf270067ef9c755a10d852c3e6ef4e9a01aabcb17
radeonsi: expand the compressed color and depth texture masks to 64 bits

This is in preparation of raising the number of exposed sampler views to 32
bits, which will raise the total number of sampler views to 33 for the
polygon stipple texture. That texture should never be compressed (and it's
certainly not a depth texture), but this approach seems cleaner to me than
special-casing the last slot in all affected code paths.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_pipe.h