zink: add flags to `zink_gfx_program` and `zink_context`
authorantonino <antonino.maniscalco@collabora.com>
Tue, 21 Feb 2023 09:29:25 +0000 (10:29 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 29 Mar 2023 19:18:40 +0000 (19:18 +0000)
commita6de15eff5630e60122ebea6b5318009e1bbaffa
tree2c5fb9dbb76e947fe5597981c2619fed762b025e
parent027ba4ccefbefe468ca6c198b7a3404b3a0c3f23
zink: add flags to `zink_gfx_program` and `zink_context`

Adds `optimal_keys` and `needs_inlining` to `zink_gfx_program` and
`is_generated_gs_bound` to `zink_context`

Those will be needed for shaders that rely on some uniforms to be
inlined

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21238>
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_types.h