mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
8d440ece64
commit
898dd3bdf6
2 changed files with 10 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -928,6 +928,8 @@ struct pvr_pipeline {
|
|||
|
||||
/* Saved information from pCreateInfo. */
|
||||
struct pvr_pipeline_layout *layout;
|
||||
|
||||
VkPipelineCreateFlags2KHR pipeline_flags;
|
||||
};
|
||||
|
||||
struct pvr_compute_pipeline {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue