mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radv: add radv_dump_pipeline_state() helper
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
6f0530ecfe
commit
de06dfa9ea
1 changed files with 11 additions and 6 deletions
|
|
@ -525,6 +525,15 @@ radv_dump_shaders(struct radv_pipeline *pipeline,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
radv_dump_pipeline_state(struct radv_pipeline *pipeline,
|
||||||
|
VkShaderStageFlagBits active_stages, FILE *f)
|
||||||
|
{
|
||||||
|
radv_dump_shaders(pipeline, active_stages, f);
|
||||||
|
radv_dump_annotated_shaders(pipeline, active_stages, f);
|
||||||
|
radv_dump_descriptors(pipeline, f);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
radv_dump_graphics_state(struct radv_pipeline *graphics_pipeline,
|
radv_dump_graphics_state(struct radv_pipeline *graphics_pipeline,
|
||||||
struct radv_pipeline *compute_pipeline, FILE *f)
|
struct radv_pipeline *compute_pipeline, FILE *f)
|
||||||
|
|
@ -536,9 +545,7 @@ radv_dump_graphics_state(struct radv_pipeline *graphics_pipeline,
|
||||||
|
|
||||||
active_stages = graphics_pipeline->active_stages;
|
active_stages = graphics_pipeline->active_stages;
|
||||||
|
|
||||||
radv_dump_shaders(graphics_pipeline, active_stages, f);
|
radv_dump_pipeline_state(graphics_pipeline, active_stages, f);
|
||||||
radv_dump_annotated_shaders(graphics_pipeline, active_stages, f);
|
|
||||||
radv_dump_descriptors(graphics_pipeline, f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
@ -549,9 +556,7 @@ radv_dump_compute_state(struct radv_pipeline *compute_pipeline, FILE *f)
|
||||||
if (!compute_pipeline)
|
if (!compute_pipeline)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
radv_dump_shaders(compute_pipeline, active_stages, f);
|
radv_dump_pipeline_state(compute_pipeline, active_stages, f);
|
||||||
radv_dump_annotated_shaders(compute_pipeline, active_stages, f);
|
|
||||||
radv_dump_descriptors(compute_pipeline, f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct radv_pipeline *
|
static struct radv_pipeline *
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue