radv: fix FMASK expand if layerCount is VK_REMAINING_ARRAY_LAYERS
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Jun 2019 14:24:10 +0000 (16:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 27 Jun 2019 06:56:34 +0000 (08:56 +0200)
commit1e9ccc5429fcb5c6d6efa9fa35e19b364b8cabf7
tree0afd1b52f91fde43d7abeae5f5931221dd177f8f
parent8551dc17a77af39e5d8ea726a59f81fe5837f053
radv: fix FMASK expand if layerCount is VK_REMAINING_ARRAY_LAYERS

This doesn't fix anything known, but it's likely going to
break if layerCount is ~0U.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_fmask_expand.c