lima: expose fragment shader derivatives capability
authorIcenowy Zheng <icenowy@aosc.io>
Tue, 25 Feb 2020 09:48:12 +0000 (17:48 +0800)
committerIcenowy Zheng <icenowy@aosc.io>
Tue, 25 Feb 2020 17:47:58 +0000 (01:47 +0800)
commit3569215d493da6dbb8359f1df1259563b2c61db1
treee67100754d14aac94bc23788d84ed62e494b02f9
parent01496e3d1ea0370af03e6645dbd2b864c2ace94c
lima: expose fragment shader derivatives capability

Support for fragment shader derivatives has landed in the Lima PP
compiler for a long time, but its capability is not exposed yet.

Expose the support now.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3944>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3944>
src/gallium/drivers/lima/lima_screen.c