mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 22:18:13 +02:00
radv: ignore registering pipeline libaries with SQTT
They aren't executable pipelines and they might not contain all shader stages. This fixes a crash when generating RGP captures with GPL. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21235>
This commit is contained in:
parent
b68f13bc90
commit
fa66c8954e
1 changed files with 3 additions and 0 deletions
|
|
@ -1278,6 +1278,9 @@ sqtt_CreateGraphicsPipelines(VkDevice _device, VkPipelineCache pipelineCache, ui
|
||||||
if (!pipeline)
|
if (!pipeline)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_LIBRARY_BIT_KHR)
|
||||||
|
continue;
|
||||||
|
|
||||||
result = radv_sqtt_reloc_graphics_shaders(device, radv_pipeline_to_graphics(pipeline));
|
result = radv_sqtt_reloc_graphics_shaders(device, radv_pipeline_to_graphics(pipeline));
|
||||||
if (result != VK_SUCCESS)
|
if (result != VK_SUCCESS)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue