freedreno/a3xx: add bgr565 texturing and rendering
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 4 Dec 2014 01:43:22 +0000 (20:43 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 6 Dec 2014 23:18:47 +0000 (18:18 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_format.c

index 95999e9c69e8dbdddb8efdeb43e762497bd2e64d..d0ce5279b9d9713749186aab366468e1320a3e23 100644 (file)
@@ -118,7 +118,7 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = {
        _T(L8A8_SINT,    8_8_SINT,  NONE,       WZYX),
 
        _T(Z16_UNORM,      Z16_UNORM,     R8G8_UNORM,     WZYX),
-       /*_T(B5G6R5_UNORM,   5_6_5_UNORM,   R5G6B5_UNORM,   WXYZ),*/
+       _T(B5G6R5_UNORM,   5_6_5_UNORM,   R5G6B5_UNORM,   WXYZ),
        _T(B5G5R5A1_UNORM, 5_5_5_1_UNORM, R5G5B5A1_UNORM, WXYZ),
        _T(B5G5R5X1_UNORM, 5_5_5_1_UNORM, R5G5B5A1_UNORM, WXYZ),
        _T(B4G4R4A4_UNORM, 4_4_4_4_UNORM, R4G4B4A4_UNORM, WXYZ),