zink: use FAIL_ON_PIPELINE_COMPILE_REQUIRED for GPL path
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 6 Sep 2023 14:33:04 +0000 (10:33 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Sep 2023 02:36:40 +0000 (02:36 +0000)
commite4bca6adf1ad4466f2c9703cfc984c8c56944985
tree90eaefcfb0bd7014d6c4cdc8e99c9a89a741aa2c
parentd79a615cf8ef991088355751ef54c9f2cd11ff79
zink: use FAIL_ON_PIPELINE_COMPILE_REQUIRED for GPL path

it should be low-cost to check for a cached+optimized pipeline on first
compile, so do that to avoid unnecessary pipeline compiles

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25087>
src/gallium/drivers/zink/zink_program_state.hpp