Re: [Mesa-dev] [PATCH 3/2] etnaviv: Don't over-pad compressed textures

2017-11-06 Thread Christian Gmeiner
2017-11-02 16:08 GMT+01:00 Wladimir J. van der Laan : > HALIGN_FOUR/SIXTEEN has no meaning for compressed textures, and we can't > render to them anyway. So use the tightest possible packing. This > avoids bugs with non-power-of-two block sizes. > > Signed-off-by: Wladimir J. van der Laan Reviewe

[Mesa-dev] [PATCH 3/2] etnaviv: Don't over-pad compressed textures

2017-11-02 Thread Wladimir J. van der Laan
HALIGN_FOUR/SIXTEEN has no meaning for compressed textures, and we can't render to them anyway. So use the tightest possible packing. This avoids bugs with non-power-of-two block sizes. Signed-off-by: Wladimir J. van der Laan --- src/gallium/drivers/etnaviv/etnaviv_resource.c | 24 ++