mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-19 16:40:36 +02:00
radv: expose radv_pipeline_capture_shaders()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21764>
This commit is contained in:
parent
2fbd495ce7
commit
f1565de4cc
2 changed files with 2 additions and 1 deletions
|
|
@ -3358,7 +3358,7 @@ radv_pipeline_create_ps_epilog(struct radv_graphics_pipeline *pipeline,
|
|||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
radv_pipeline_capture_shaders(const struct radv_device *device, VkPipelineCreateFlags flags)
|
||||
{
|
||||
return (flags & VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR) ||
|
||||
|
|
|
|||
|
|
@ -2343,6 +2343,7 @@ VkResult radv_compute_pipeline_create(VkDevice _device, VkPipelineCache _cache,
|
|||
const VkAllocationCallbacks *pAllocator,
|
||||
VkPipeline *pPipeline);
|
||||
|
||||
bool radv_pipeline_capture_shaders(const struct radv_device *device, VkPipelineCreateFlags flags);
|
||||
bool radv_pipeline_capture_shader_stats(const struct radv_device *device,
|
||||
VkPipelineCreateFlags flags);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue