diff options
| author | Kam471 <kam471@users.noreply.github.com> | 2026-11-22 21:01:27 +0000 |
|---|---|---|
| committer | Kam471 <kam471@users.noreply.github.com> | 2026-11-22 21:01:27 +0000 |
| commit | 96830e58f2396d7321d8aaf405164d3f1f3e4e64 (patch) | |
| tree | 1df295b5462a412fc86b0905fb71af13597d2282 /runtime/shims/file_system.cpp | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
dxgi: keep BufferCount at the app's request when Vulkan's native count differs (D3D-389)
Vulkan may return more images than minImageCount, and caps.minImageCount can exceed the requested count, but GetDesc/GetDesc1 must report the app's BufferCount and GetCurrentBackBufferIndex must stay inside it.
When the native count differs, expose a stable offscreen ring of exactly the requested size and blit the current slot into the acquired native image at present; direct native mapping is unchanged when the counts agree. Add a fake-Vulkan regression test (extra native images, min above request, request above min) and DXGI-level desc/index assertions.
Diffstat (limited to 'runtime/shims/file_system.cpp')
0 files changed, 0 insertions, 0 deletions