asahi: Add flat/linear shaded varyings mask to the VS shader key
authorAsahi Lina <lina@asahilina.net>
Wed, 28 Jun 2023 10:12:51 +0000 (19:12 +0900)
committerMarge Bot <emma+marge@anholt.net>
Wed, 5 Jul 2023 05:11:49 +0000 (05:11 +0000)
commit2055e0324342b4e2a98f71937c77299d5507df66
tree7a44ad421c9e492923616232a8973af713e97406
parent4a65b4bb1446201fab8ba2f99b5e5109896ca8bf
asahi: Add flat/linear shaded varyings mask to the VS shader key

We need this information in order to arrange varyings properly, which
means we need shader variants. Add this to the shader key, taking the
value from the FS input info.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23998>
src/asahi/compiler/agx_compile.h
src/gallium/drivers/asahi/agx_state.c
src/gallium/drivers/asahi/agx_state.h