nvc0: add support for BGRA8 images

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 18 July 2016 19:04 UTC

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

8e7893e nvc0: add support for BGRA8 images
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 2 ++
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 3 +++
.../drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp | 2 ++
.../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 4 ++++
src/gallium/drivers/nouveau/nv50/g80_defs.xml.h | 1 +
src/gallium/drivers/nouveau/nv50/nv50_formats.c | 3 ++-
src/gallium/drivers/nouveau/nvc0/nvc0_tex.c | 2 ++
7 files changed, 16 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share