mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01: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)
|
||||
continue;
|
||||
|
||||
if (pCreateInfos[i].flags & VK_PIPELINE_CREATE_LIBRARY_BIT_KHR)
|
||||
continue;
|
||||
|
||||
result = radv_sqtt_reloc_graphics_shaders(device, radv_pipeline_to_graphics(pipeline));
|
||||
if (result != VK_SUCCESS)
|
||||
goto fail;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue