This fixes bug: https://bugs.winehq.org/show_bug.cgi?id=46410
v4: Rebase and resubmit patch.
Original commit message:
From: post@arntzen-software.no Use EXT_descriptor_indexing's UPDATE_AFTER_BIND feature to support semantics required by RS 1.0 VOLATILE descriptors. We implement this by deferring all updates of desciptor sets until Submit time.
This is fine, as command buffers cannot be executed simultaneously on D3D12, so at Submit time, we know that the command buffer is not being executed on the GPU, and updating descriptors for multiple submissions is correct.
If EXT_descriptor_indexing is not available, the fallback is the older method, which matches RS 1.1 STATIC descriptor model.
Signed-off-by: Sveinar Søpler cybermax@dexter.no