zink: use the patch_vertices value from the shader key, not the context
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 7 Jun 2022 18:23:45 +0000 (14:23 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Jun 2022 19:21:15 +0000 (19:21 +0000)
commitc36c5ff057aa6c65e0beb75810c91aea1499634a
tree34da44d4b315d3cceda31c2771b05005fdbead7b
parent338d98643906141322432874c91a1a8528a85e3a
zink: use the patch_vertices value from the shader key, not the context

ctx shouldn't be used here unless necessary

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