nv50: fix 2d engine blits for 64- and 128-bit formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 23 Aug 2015 07:11:09 +0000 (03:11 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 23 Aug 2015 07:12:07 +0000 (03:12 -0400)
This fixes bin/ext_framebuffer_multisample-formats all_samples

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv50_surface.c

index f1b0bd68a601c96ca064e06c47d5f69d1daacd80..64348b3c3787d9fda6e1f8344a0c88b62ef15d88 100644 (file)
@@ -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;
    }