zink: break out optimal key handling into separate function
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 4 May 2023 13:46:07 +0000 (09:46 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 5 May 2023 12:32:40 +0000 (12:32 +0000)
commit4cb900609fc753b38ef7a39bddf35ea15ffa006c
treeb43a04b4992737d572eee1678846b4dda9150439
parent13f98c8101b8021883e5f79f6c4b447975763b01
zink: break out optimal key handling into separate function

this is growing to be much larger than the original conditional

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22854>
src/gallium/drivers/zink/zink_screen.c