etnaviv: use surface format directly
authorLucas Stach <l.stach@pengutronix.de>
Wed, 14 Nov 2018 14:11:07 +0000 (15:11 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 18 Dec 2018 18:07:10 +0000 (19:07 +0100)
commita3e592e839db7b484ee1e524d3ea5579f76c4b66
tree796d6859efd5ced44d99c16360ddc1a7429be93a
parent7a90886921eb1d5d73b40aadd6fd3f340041bd26
etnaviv: use surface format directly

There is no need to do the detour over the resource behind the
surface to get the format. Use the surface format directly.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_blend.c
src/gallium/drivers/etnaviv/etnaviv_context.c