zink: split vertex state pipeline hashing into its own value
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 1 Apr 2021 20:52:27 +0000 (16:52 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 May 2021 02:00:54 +0000 (02:00 +0000)
commitff1941aa08337aa2f39565887c74e3461f7e72bd
tree79e91fced864c3233180fc111d3c40f1227f75b2
parent7ca64c1c4df4ac736dcca556035fa65d800d40bb
zink: split vertex state pipeline hashing into its own value

by creating a separate hash value for vertex state, changes to the vbos and
bindings requires massively less overhead as it doesn't require the rest of
the pipeline state to be rehashed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10508>
src/gallium/drivers/zink/zink_draw.c
src/gallium/drivers/zink/zink_pipeline.h
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_program.h
src/gallium/drivers/zink/zink_state.c