Skip to content
Snippets Groups Projects
Commit 160dd5bf authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Marge Bot
Browse files

zink: add VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR for shaderdb

cc: mesa-stable

Part-of: <mesa/mesa!28815>
parent fd6468a5
No related branches found
No related tags found
No related merge requests found
......@@ -332,6 +332,8 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
VkGraphicsPipelineCreateInfo pci = {0};
pci.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO;
if (zink_debug & ZINK_DEBUG_SHADERDB)
pci.flags |= VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR;
if (!optimize)
pci.flags |= VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT;
if (screen->info.have_EXT_attachment_feedback_loop_dynamic_state) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment