v3d: Force sampling from base level for tg4.
authorEric Anholt <eric@anholt.net>
Thu, 27 Dec 2018 07:15:30 +0000 (23:15 -0800)
committerEric Anholt <eric@anholt.net>
Sun, 30 Dec 2018 16:05:11 +0000 (08:05 -0800)
commit47caefc7b4e239bb7e9486a799e618e5614e4924
tree966500c48f903611efac7821614dc8bf678738b5
parentf9bdce99668b62da6ae34e584cfea6f47b402687
v3d: Force sampling from base level for tg4.

This is what the GLSL ES 310 spec tells us to do, but apparently the
"gather mode" flag doesn't imply it in the HW.  Fixes
dEQP-GLES31.functional.texture.gather.basic.2d.rgba8.filter_mode.min_nearest_mipmap_linear_mag_linear
src/broadcom/compiler/v3d40_tex.c