pvr: track pipeline flags

Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258>
This commit is contained in:
Simon Perretta 2024-09-10 13:43:38 +01:00 committed by Marge Bot
parent 8d440ece64
commit 898dd3bdf6
2 changed files with 10 additions and 7 deletions

View file

@ -1678,13 +1678,14 @@ pvr_graphics_pipeline_compile(struct pvr_device *const device,
if (stage_index == ~0)
continue;
result = vk_pipeline_shader_stage_to_nir(&device->vk,
0,
create_info,
spirv_options,
nir_options,
shader_mem_ctx,
nir);
result =
vk_pipeline_shader_stage_to_nir(&device->vk,
gfx_pipeline->base.pipeline_flags,
create_info,
spirv_options,
nir_options,
shader_mem_ctx,
nir);
if (result != VK_SUCCESS)
goto err_free_build_context;

View file

@ -928,6 +928,8 @@ struct pvr_pipeline {
/* Saved information from pCreateInfo. */
struct pvr_pipeline_layout *layout;
VkPipelineCreateFlags2KHR pipeline_flags;
};
struct pvr_compute_pipeline {