v3dv/pipeline: use driver_location_map instead of nir utilities
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 2 Mar 2021 21:14:07 +0000 (22:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Mar 2021 17:10:47 +0000 (17:10 +0000)
commitdd72c99d7745f0f2f442316d1fc7c0b6836e7371
tree1f2add4a1cd116ea284edfb37afa0f3c5f699401
parentb71fd5587e0611057bccc170bcaf356fc3afb4a8
v3dv/pipeline: use driver_location_map instead of nir utilities

If we were able to get a shader variant from the pipeline cache, we
will not have the nir shader available.

Note that this is what we were doing on the driver before the nir io
helpers were available.

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