pvr: Extend hard coding infra to allow per stage per device coding.
authorKarmjit Mahil <Karmjit.Mahil@imgtec.com>
Wed, 15 Jun 2022 14:35:14 +0000 (15:35 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 20 Jun 2022 16:59:01 +0000 (16:59 +0000)
commitfad7e858f22c4e59ad8043200845d3a7323ed100
treebbe8bc22052c76280e123ad057d21e7514112c87
parentc6933cc9de7f648d06705754909ba7315c6bd19f
pvr: Extend hard coding infra to allow per stage per device coding.

This commit extends the graphics hard coding infrastructure to
allow the independent hard coding of stages, i.e. hard code fragment
stage and vertex stage separately instead of having to hard code
everything.

It also extends the infrastructure to allow per device hard coding.

Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Reviewed-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17106>
src/imagination/vulkan/pvr_hardcode.c
src/imagination/vulkan/pvr_hardcode.h
src/imagination/vulkan/pvr_pipeline.c