From e18c29b03105567cf20bc235ce23cf08986cc537 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 23 Aug 2015 03:11:09 -0400 Subject: nv50: fix 2d engine blits for 64- and 128-bit formats This fixes bin/ext_framebuffer_multisample-formats all_samples Signed-off-by: Ilia Mirkin Cc: "11.0" --- src/gallium/drivers/nouveau/nv50/nv50_surface.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gallium/drivers/nouveau/nv50/nv50_surface.c') diff --git a/src/gallium/drivers/nouveau/nv50/nv50_surface.c b/src/gallium/drivers/nouveau/nv50/nv50_surface.c index f1b0bd68a60..64348b3c378 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_surface.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_surface.c @@ -68,6 +68,10 @@ nv50_2d_format(enum pipe_format format, bool dst, bool dst_src_equal) return NV50_SURFACE_FORMAT_R16_UNORM; case 4: return NV50_SURFACE_FORMAT_BGRA8_UNORM; + case 8: + return NV50_SURFACE_FORMAT_RGBA16_FLOAT; + case 16: + return NV50_SURFACE_FORMAT_RGBA32_FLOAT; default: return 0; } -- cgit v1.2.3