nvc0: add support for BGRA8 images
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 16 Jul 2016 19:07:21 +0000 (15:07 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 19 Jul 2016 00:04:17 +0000 (20:04 -0400)
commit8e7893eb53213254997a1a3beb0575be11821f83
treed1f351c22e27d5db3b8de297497abcaec3dbbf9b
parent905d7dc4d164b7ccc287b390a5b2492da3e0fd8b
nvc0: add support for BGRA8 images

This is useful for pbo downloads, which are now accelerated with images.
BGRA8 is a moderately common format to do that in.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir.h
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
src/gallium/drivers/nouveau/nv50/g80_defs.xml.h
src/gallium/drivers/nouveau/nv50/nv50_formats.c
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c