diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-04-20 14:34:45 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2018-04-20 18:54:10 +0200 |
commit | 52e93e309f34972dfd5b84075c13ae8d6b9f63df (patch) | |
tree | 7944482c2c00b8268702da60047c18931fc29917 /m4/ax_prog_flex.m4 | |
parent | 8f13975713a7a7b8d625e3561a7fc9ce202ac64b (diff) |
etnaviv: fix texture_format_needs_swiz
memcmp returns 0 when both swizzles are the same, which means we don't
need any hardware swizzling. texture_format_needs_swiz should return
true when the return value of the memcmp is non-zero.
Fixes: 751ae6afbefd ("etnaviv: add support for swizzled texture formats")
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
Diffstat (limited to 'm4/ax_prog_flex.m4')
0 files changed, 0 insertions, 0 deletions