[Mesa-dev] [PATCH 8/8] etnaviv: fix rs blit for formats with blocksize of 8

Christian Gmeiner christian.gmeiner at gmail.com
Fri Oct 20 20:21:28 UTC 2017


Fixes piglit/bin/oes_texture_float half

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 src/gallium/drivers/etnaviv/etnaviv_translate.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/etnaviv/etnaviv_translate.h b/src/gallium/drivers/etnaviv/etnaviv_translate.h
index 0761251a36..c82a244e6d 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_translate.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_translate.h
@@ -249,6 +249,8 @@ etna_compatible_rs_format(enum pipe_format fmt)
       return PIPE_FORMAT_B4G4R4A4_UNORM;
    case 4:
       return PIPE_FORMAT_B8G8R8A8_UNORM;
+   case 8:
+      return PIPE_FORMAT_B8G8R8A8_UNORM;
    default:
       return fmt;
    }
-- 
2.11.0



More information about the mesa-dev mailing list