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:
committed by
Marge Bot
parent
a4d6c57e65
commit
39628c8999
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user