zink: skip some emulated cube code if the extension is present
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 10 Jun 2022 15:42:39 +0000 (11:42 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Jun 2022 19:35:42 +0000 (19:35 +0000)
commit876bfb6bc36b2000fa0c7e8c1ef7c26b5d5c5180
treee86a1dd8030d642271c56df03952eae4637464eb
parentd8b4ceb27a763a74eee38233f8ace40d0734cfb7
zink: skip some emulated cube code if the extension is present

cuts down on some cpu overhead

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16944>
src/gallium/drivers/zink/zink_context.c