softpipe: set a lower minimum clamp value for texture coordinate border clamp
authorGert Wollny <gert.wollny@collabora.com>
Mon, 15 Jul 2019 10:51:06 +0000 (12:51 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 18 Jul 2019 03:47:23 +0000 (05:47 +0200)
commit230b99ce2f75afadab475a021c7fb51574878f9f
tree1508f160505b4d1e4486195d09144e80de99e425
parenteae4c6df8ded2354f3f1e034ddef2177988ce688
softpipe: set a lower minimum clamp value for texture coordinate border clamp

The value of -0.5f is not small enough to produce negative coordinates,
so lower the minimum clamp value to -1.0f. This fixes a number of tests
from
   dEQP-GLES31.functional.texture.border_clamp.*

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c