llvmpipe/setup: add point size clamping
authorDave Airlie <airlied@redhat.com>
Thu, 16 Apr 2020 07:15:28 +0000 (17:15 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 27 Apr 2020 02:35:24 +0000 (12:35 +1000)
commit65906d133130df5308b32c3fc92fb8690d231abc
tree01f973b33bea9fd080389f96362066a9c4f7a394
parent1f071db43a676c17c1765434ed0abfcf3d659815
llvmpipe/setup: add point size clamping

Fixes
dEQP-GLES2.functional.rasterization.limits.points
dEQP-VK.rasterization.primitive_size.points.point_size*

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>
.gitlab-ci/deqp-llvmpipe-fails.txt
.gitlab-ci/deqp-virgl-fails.txt
src/gallium/drivers/llvmpipe/lp_limits.h
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup_point.c