radeonsi: Clear sampler view flags when binding a buffer
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 2 Oct 2014 07:00:26 +0000 (16:00 +0900)
committerMichel Dänzer <michel@daenzer.net>
Fri, 3 Oct 2014 02:15:38 +0000 (11:15 +0900)
commited03747e6a1a0655bfd0b5e4a52455fbd37f97c5
tree45aeeb42c439306d5c1e375b284e3325c8d8384f
parentca000702592b80761fb223f352bfd98d893877e7
radeonsi: Clear sampler view flags when binding a buffer

Fixes assertion failure while running the Unreal Engine 4 Elemental demo:

.../si_blit.c:322:si_decompress_color_textures: Assertion `tex->cmask.size || tex->fmask.size' failed.

Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c