iris: Fix imageBuffer and PBO download.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 1 May 2019 18:16:13 +0000 (11:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 1 May 2019 21:37:46 +0000 (14:37 -0700)
commitebbb05b3c93d8f62985099cc9d4cf157c597f4b5
tree05376b21f36ab5094f488201eeffe3da89ea7d5b
parente2fecf57e343961cd1db9251cef2c9eb95948d2f
iris: Fix imageBuffer and PBO download.

Recently we added checks to try and deny multisampled shader images.
Unfortunately, this messed up imageBuffers, which have sample_count = 0,
which are also used in PBO download, causing us hit CPU map fallbacks.

Fixes: b15f5cfd20c iris: Do not advertise multisampled image load/store.
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/gallium/drivers/iris/iris_formats.c