iris: Allow packed RGB pbo uploads
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Jul 2019 19:18:38 +0000 (20:18 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Oct 2019 06:11:38 +0000 (23:11 -0700)
commit64207ebe6667b5265dfaa4fd10f1469633769f18
treedbe53062f69470808029606b90645d9b114def21
parente4a826b2c8af8ac9194a7527c568e876c71b0dee
iris: Allow packed RGB pbo uploads

Hitting any fallback path on Broxton as we require clflushing the whole
buffer even for an upload of a subtexture. However, since gallium
provides a pbo upload path, allow it to sample packed RGB if supported.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_formats.c