vulkan: enable VK_EXT_extended_dynamic_state when available #1906
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1906
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1906/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LloydNicholson on GitHub · 2026-10-25 20:54 UTC · original
LloydNicholson:fix/radv-eds-epilog-cache→main· +11 −1 · 1 files · 1 commits · merged 2026-10-26 01:08 UTCBlack Myth: Wukong (PPSA23226) crashes in vkCmdDraw on RADV from Mesa 26.3-devel shortly after the intro settings are saved:
radv_shader_part_cache_get <- radv_emit_all_graphics_states <- radv_CmdDraw
Mesa ccb8eb5c makes RADV compile depth-, stencil- and sample-mask-writing fragment shaders with a PS epilog when depth/stencil test enable is dynamic, but it only initialises the device's epilog cache when the EXT extendedDynamicState feature is enabled. The renderer relies on the Vulkan 1.3 core versions of those dynamic states, so the cache stays uninitialised and the first draw needing an epilog calls a null hash function.
Enable the EXT feature when the device exposes it. This changes nothing for the renderer; it only satisfies the driver's feature check.
@coderabbitai[bot] on GitHub · 2026-10-25 20:59 UTC · original
No actionable comments were generated in the recent review.
e5226618-51a0-432d-bdaa-673714a94c27Reviewing files that changed from the base of the PR and between
b2c9ec7609and 94964d25445175e57101d1b92a4666cac635da48.src/graphics/presentation/window/vulkanWindow.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Walkthrough
Vulkan device setup now checks for
VK_EXT_extended_dynamic_state, queries theextendedDynamicStatefeature, and reports whether both are available. Device creation enables the feature only when the extension and feature are supported.Suggested reviewers:
mrbigbritches,nmzikPriority:
Normal
Change: Bug fix
Merge Risk:
Minimal · up to
94964No actionable merge-blocking risk was identified in the changed Vulkan device setup.
Pre-merge checks:
4 ·
1
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.