zink: initial implementation of shader keys
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 13 Jul 2020 17:47:19 +0000 (13:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Nov 2020 14:40:33 +0000 (14:40 +0000)
commit2be2a500a396fe1dc0e121816e4056874cdd43fc
tree153984bdc21565c2937ccc06bbe9a5444c4e771e
parent54a965b153f80cff792853f262a09cfc7987f777
zink: initial implementation of shader keys

these are cached per-program for now since we have to ensure that the slot map
always matches up between shader states

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7193>
src/gallium/drivers/zink/zink_compiler.c
src/gallium/drivers/zink/zink_compiler.h
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_program.h
src/gallium/drivers/zink/zink_screen.h