mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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>
(cherry picked from commit 160dd5bf2b)
This commit is contained in:
parent
f35fc4ace8
commit
6c00d37aa8
2 changed files with 3 additions and 1 deletions
|
|
@ -1034,7 +1034,7 @@
|
|||
"description": "zink: add VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR for shaderdb",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue