nvc0: restore image binding on RGB10A2, remove from BGR10A2
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 29 Mar 2018 03:45:26 +0000 (23:45 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Apr 2018 20:45:00 +0000 (16:45 -0400)
commit2a2b22e9b16dc57c4685a4081bab01cced2671d5
treecb2e86e2e6968d786cc6f451d382cf52f934d8e7
parent684f7cd7e32d597982be04fb2c2dd0ee40fdae0b
nvc0: restore image binding on RGB10A2, remove from BGR10A2

Fixes a bunch of new CTS pbo tests that use those as an output format,
which the state tracker converts into buffer image writes.

No part of the driver is ready for BGR10A2. It could probably be enabled
on Maxwell+, but seems unnecessary. This error was introduced when
flipping the displayable bit on those formats, which accidentally also
moved the image bit.

Fixes: e1a70aed10d (nv50,nvc0: mark ABGR format as displayable instead of ARGB format)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_formats.c