host: hide VK_EXT_descriptor_buffer only on GPUs that need it #42
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!42
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/42/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?
@Jerkin42 on GitHub · 2026-11-24 10:28 UTC · original
Jerkin42:fix/cbv-descriptor-buffer-per-gpu→main· +57 −6 · 3 files · 1 commits · merged 2026-11-24 13:45 UTCThe constant-buffer workaround sets
VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_bufferon every GPU, but only devices whose uniform buffers can't use 16-byte offsets need the descriptor-set path. This moves the decision into the Vulkan layer, which hides the extension per device. The patched-Proton branch keeps its environment override.Why
On an RX 9060 XT (RADV, Mesa 26.1.8, Proton Experimental), ProjectScarlett crashes during startup with the extension disabled. 12 launches with stock providers, changing only this setting and the layer:
VK_EXT_descriptor_bufferRuns were capped at 80 to 270 seconds and the order was varied. I have not found the cause inside the driver.
Behaviour change
A GPU that can't use 16-byte offsets for uniform or storage buffers now keeps the extension, because the layer's fallback can't apply there.
Testing
This does not fix the black screen in #39.
🤖 Generated with Claude Code