v3dv/pipeline: remove v3d_key from shader_variant and pipeline stage
authorAlejandro Piñeiro <apinheiro@igalia.com>
Mon, 15 Mar 2021 21:04:31 +0000 (22:04 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 17:10:47 +0000 (17:10 +0000)
commitd7f40383744e9ef37086355a472144107efcd198
tree122728f2b52c0ec282ed063607f8f4e90cdc30c4
parentb8c73c512a3906884aceb821a40376461d5f3ddb
v3dv/pipeline: remove v3d_key from shader_variant and pipeline stage

We stopped to re-use them after pippeline creation long ago, so let's
reduce the size of both structs, and avoid serialize/deserialize for
the variant case.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9403>
src/broadcom/vulkan/v3dv_pipeline.c
src/broadcom/vulkan/v3dv_pipeline_cache.c
src/broadcom/vulkan/v3dv_private.h