gallivm/conv: enable conversion min code. (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 02:42:38 +0000 (12:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 11 Jun 2020 04:41:19 +0000 (14:41 +1000)
commit47c231806328b8358c3deba265f361c0d5608c6b
tree86567e55a2d4c302742438aaca442c0672be0af1
parent45606ee80497be34f080e784831504c8642416a8
gallivm/conv: enable conversion min code. (v2)

I'm not sure why this code was if (0), but if (1) for it fixes
dEQP-GLES31.functional.texture.border_clamp.range_clamp.nearest_float_color
This test expects +inf to get mapped to 255 and -inf to 0, both values
were ending up at 0.

v2: also enable in the SSE paths

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5379>
.gitlab-ci/deqp-virgl-fails.txt
.gitlab-ci/piglit/quick_gl.txt
src/gallium/auxiliary/gallivm/lp_bld_conv.c