zink: allow the backend to optimise shaders.
authorDave Airlie <airlied@redhat.com>
Mon, 30 Nov 2020 23:15:10 +0000 (09:15 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 09:35:56 +0000 (09:35 +0000)
commitbf7c4108fb62e52dd9018b6670ed933fddf7758f
tree0618c6618a841a1e230bd29ac0d620e9f41e941f
parente2e383e36a08e3d536b22c4825e0486499739e97
zink: allow the backend to optimise shaders.

I can't think of any reason for ever requesting this here,
maybe in some future with parallel threads optimised compiles
and where vulkan drivers respect this bit.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7840>
src/gallium/drivers/zink/zink_pipeline.c