diff options
author | Jonathan Marek <[email protected]> | 2019-06-20 11:53:05 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-06-29 21:49:50 -0400 |
commit | 89381191a96891a61a1f98102780669990b9f626 (patch) | |
tree | ec927bddd90bc381dc3ae138347903076e8fd75d /src/gallium/drivers/etnaviv/etnaviv_texture.c | |
parent | a99a265b14b1db05ade75f0e2fe8e9e3b6d04358 (diff) |
etnaviv: blt: blit with the original format when possible
This fixes BGR565 blit: currently BGRA444 is used for the blit, but with
swizzles from the original BGR565 format, so the 4 alpha bits are set to 1.
We can't just use the swizzle from the 'compatible' format, since there are
cases where BGR<->RGB swap needs to happen.
We can avoid all this trouble by using the original formats and only
falling back to the 'compatible' format when we need to.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_texture.c')
0 files changed, 0 insertions, 0 deletions