diff options
| author | Kam471 <kam471@users.noreply.github.com> | 2026-11-22 21:01:27 +0000 |
|---|---|---|
| committer | Kam471 <115741199+Kam471@users.noreply.github.com> | 2026-11-22 22:00:46 +0000 |
| commit | 78e4f477cfa0b5b48e61dd011da788adcf00b5eb (patch) | |
| tree | af5864150f918180827f35738bf3f18230b57d2c /runtime/src/pe_loader.cpp | |
| parent | 4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d (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/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions