zink: only emit SpvCapabilityDerivativeControl when needed
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 2 Feb 2021 11:24:33 +0000 (12:24 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 16:00:37 +0000 (16:00 +0000)
commitb6da248c0edf86dc5b02dab12ca5f34da31c7ea0
treebbd156fdaa8950b4de1059a689449910bf5d23b0
parent36a4b423fe9e6a61753f891739e26088682c2040
zink: only emit SpvCapabilityDerivativeControl when needed

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8832>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c