From: Ilia Mirkin Date: Sun, 23 Aug 2015 07:11:09 +0000 (-0400) Subject: nv50: fix 2d engine blits for 64- and 128-bit formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e18c29b03105567cf20bc235ce23cf08986cc537;p=mesa.git 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" --- 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; }