mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
radv: Fix out of bounds access in RTPSO creation
Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17723>
This commit is contained in:
parent
0c787d57e6
commit
2861d1ff8a
1 changed files with 2 additions and 2 deletions
|
|
@ -134,8 +134,8 @@ radv_rt_pipeline_library_create(VkDevice _device, VkPipelineCache _cache,
|
|||
RADV_FROM_HANDLE(vk_shader_module, module, pipeline->stages[i].module);
|
||||
|
||||
const VkPipelineShaderStageModuleIdentifierCreateInfoEXT *iinfo =
|
||||
vk_find_struct_const(pCreateInfo->pStages[i].pNext,
|
||||
PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT);
|
||||
vk_find_struct_const(local_create_info.pStages[i].pNext,
|
||||
PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT);
|
||||
|
||||
if (module) {
|
||||
struct vk_shader_module *new_module = vk_shader_module_clone(NULL, module);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue