mirror of https://gitlab.freedesktop.org/mesa/mesa
zink: add VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR for shaderdb
cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28815>
This commit is contained in:
parent
fd6468a5ae
commit
160dd5bf2b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue