softpipe: Don't use mag filter for gather op
authorGert Wollny <gert.wollny@collabora.com>
Sun, 7 Apr 2019 07:39:22 +0000 (09:39 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Tue, 9 Apr 2019 07:50:13 +0000 (09:50 +0200)
commit11f219a5ee8a80376a892d5ef4c7d46a76232cb8
tree5ba323bdaf1cae82cf035c107c2be644c8a65fa6
parent6279074de18444152a3ab2f3b870d1779dd9726f
softpipe: Don't use mag filter for gather op

For the gather op no magnifictaion filter is provided, so always use
the filter given for minification (which is the linear filter)

Fixes: 0dff1533f25951adda3c36be6d9efa944741befb
    softpipe: Use mag texture filter also for clamped lod == 0

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_sample.c