panfrost: Implement ARB_depth_clamp
authorIcecream95 <ixn@keemail.me>
Thu, 14 May 2020 03:58:04 +0000 (15:58 +1200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 12:59:10 +0000 (12:59 +0000)
commitec628aba76e3526d85938ec12870267c34806a1d
treeeeb060cc1177de3b88be38cdcbd65eea891f0bee
parentfd92dc6b17b8e796928942a4dc96d1b9ad054358
panfrost: Implement ARB_depth_clamp

This significantly improves the quality of shadows in OpenMW.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5453>
src/gallium/drivers/panfrost/pan_cmdstream.c
src/gallium/drivers/panfrost/pan_screen.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c