panfrost: Clamp pure int pixels
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 10 Jul 2020 17:57:58 +0000 (13:57 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 13:35:10 +0000 (13:35 +0000)
commitb29027f9dc7fa86793a9b726f42af94badd8d4f2
treec660e66b2dbe85ad08d2934e553c8d66f1002f67
parent4141d26ee160f934dd51f2e35a46491f96603902
panfrost: Clamp pure int pixels

We need saturate, not wrap semantic. Could optimize to a .isat/.usat
modifier but that's for future.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5755>
src/gallium/drivers/panfrost/pan_blend_shaders.c