zink: initial implementation of shader keys

Graphics / Mesa 3D Graphics Library / Mesa - Mike Blumenkrantz [gmail.com] - 13 November 2020 14:40 UTC

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

2be2a500a39 zink: initial implementation of shader keys
src/gallium/drivers/zink/zink_compiler.c | 3 +-
src/gallium/drivers/zink/zink_compiler.h | 4 +-
src/gallium/drivers/zink/zink_program.c | 132 +++++++++++++++++++++++++++++--
src/gallium/drivers/zink/zink_program.h | 14 ++++
src/gallium/drivers/zink/zink_screen.h | 2 +
5 files changed, 148 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share