mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 12:10:36 +01:00
radv/rt: Clone entrypoint names
Fixes a vtn crash with dEQP-VK.ray_tracing_pipeline.pipeline_library.configurations.singlethreaded_compilation.s0_l1 and validation enabled. Closes: #7642 Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19700>
This commit is contained in:
parent
a4d6c57e65
commit
39628c8999
1 changed files with 3 additions and 0 deletions
|
|
@ -167,6 +167,9 @@ radv_rt_pipeline_library_create(VkDevice _device, VkPipelineCache _cache,
|
|||
memcpy(new_module->data, module->data, module->size);
|
||||
|
||||
pipeline->stages[i].module = vk_shader_module_to_handle(new_module);
|
||||
pipeline->stages[i].pName = ralloc_strdup(pipeline->ctx, pipeline->stages[i].pName);
|
||||
if (!pipeline->stages[i].pName)
|
||||
goto fail;
|
||||
pipeline->stages[i].pNext = NULL;
|
||||
} else {
|
||||
assert(iinfo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue