turnip: copy disasm strings for pipeline executables
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Wed, 15 Jun 2022 14:35:39 +0000 (17:35 +0300)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Jun 2022 08:45:34 +0000 (08:45 +0000)
commit10f6191fb5e910c3a705bf3dd850eb94b5461973
tree347b737373d17941bf44d12b6698dab0712e0c8f
parent9df7ad032032a6a6ea365a43d536c86b4a97766f
turnip: copy disasm strings for pipeline executables

A single compiled_shaders instance could be reused by several
pipelines, but strings from disasm info could be stolen only once.
So now we have to copy them.

Fixes crashes when using RenderDoc.

Fixes: 05329d7f9acabbc9306c9538a30b502d4c580d38
("tu: Implement pipeline caching with shared Vulkan cache")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17053>
src/freedreno/vulkan/tu_pipeline.c