etnaviv: fix linear_nearest / nearest_linear filters on GC7000Lite
authorJonathan Marek <jonathan@marek.ca>
Fri, 21 Jun 2019 00:01:28 +0000 (20:01 -0400)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 18 Oct 2019 17:06:44 +0000 (19:06 +0200)
commitad48411d721e0b433a0f1876dc83d7979bd993b2
tree44f08938cebb2b9cdb97689dc2deaeeb33fa74f7
parent95adc393eb4235c29696a4ad6244ad8d710db524
etnaviv: fix linear_nearest / nearest_linear filters on GC7000Lite

MIN filter is only used when LOD MAX is at least 4 (I guess the 2 LSB don't
actually exist).

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_texture_desc.c