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

Wladimir J. van der Laan laanwj at gmail.com
Sat Oct 21 05:28:46 UTC 2017


On Fri, Oct 20, 2017 at 10:21:28PM +0200, Christian Gmeiner wrote:
> 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;

That's the same as 4. How does the RS know it has to copy 8 bytes per pixel?

Wladimir


More information about the etnaviv mailing list