broadcom/vc5: Fix non-mipfiltered sampling.
authorEric Anholt <eric@anholt.net>
Mon, 5 Feb 2018 11:06:59 +0000 (11:06 +0000)
committerEric Anholt <eric@anholt.net>
Mon, 5 Feb 2018 13:53:38 +0000 (13:53 +0000)
commit63a8a0f3c017d018220966422deffcb46bf2e373
tree46bb83774f2f0502cba2702a7852ac039ee4673c
parente29988c9089616da67e2803f0f0c37c16e202deb
broadcom/vc5: Fix non-mipfiltered sampling.

We need to clamp the LOD to 0 if mip filtering is disabled.  This is part
of fixing KHR-GLES3.shaders.struct.uniform.sampler_array_fragment.
src/gallium/drivers/vc5/vc5_state.c