etnaviv: fix nearest_linear / linear_nearest filtering on GC3000
authorJonathan Marek <jonathan@marek.ca>
Wed, 19 Jun 2019 15:43:54 +0000 (11:43 -0400)
committerJonathan Marek <jonathan@marek.ca>
Sun, 14 Jul 2019 14:34:17 +0000 (10:34 -0400)
commit2c393053bf5c1e76bdcf37f620259fc63dd31859
tree12365ec020f3cca4153dbc0ecd6cf7a8713dff8b
parent63efb6ec6c7b2053f0d6be4714d46ff04f893de1
etnaviv: fix nearest_linear / linear_nearest filtering on GC3000

The MIN filter is never used when not using mipmaps. This fixes that.

Interestingly, only GC3000 needs this (GC2000 works without this fix).

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_texture_state.c
src/gallium/drivers/etnaviv/etnaviv_texture_state.h