radv: expose radv_pipeline_capture_shaders()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21764>
This commit is contained in:

committed by
Marge Bot

parent
2fbd495ce7
commit
f1565de4cc
@@ -3358,7 +3358,7 @@ radv_pipeline_create_ps_epilog(struct radv_graphics_pipeline *pipeline,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
bool
|
||||||
radv_pipeline_capture_shaders(const struct radv_device *device, VkPipelineCreateFlags flags)
|
radv_pipeline_capture_shaders(const struct radv_device *device, VkPipelineCreateFlags flags)
|
||||||
{
|
{
|
||||||
return (flags & VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR) ||
|
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,
|
const VkAllocationCallbacks *pAllocator,
|
||||||
VkPipeline *pPipeline);
|
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,
|
bool radv_pipeline_capture_shader_stats(const struct radv_device *device,
|
||||||
VkPipelineCreateFlags flags);
|
VkPipelineCreateFlags flags);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user