zink: remove screen info stuff from draw templates
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 14 May 2021 23:53:24 +0000 (19:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Jul 2021 00:25:31 +0000 (00:25 +0000)
commit59e69e8ec5b2df124b2a9c23fec53a5988563676
tree6c27b4ac33fb5c83868f3f69cc0619ad48bf67d0
parent9bafcde42f15fde030c20ddc81b5695a0bfd662b
zink: remove screen info stuff from draw templates

we can initialize templates that we never need to evaluate again at
runtime, cutting the overhead for all tempaltes

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11964>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h
src/gallium/drivers/zink/zink_draw.cpp
src/gallium/drivers/zink/zink_inlines.h