[PATCH vkd3d v4] Support RS 1.0 VOLATILE descriptors

Sveinar Søpler cybermax at dexter.no
Sat Dec 7 08:17:03 CST 2019

This fixes bug: https://bugs.winehq.org/show_bug.cgi?id=46410

v4: Rebase and resubmit patch.

Original commit message:

From: post at 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 at dexter.no>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-RS-1.0-VOLATILE-descriptors.patch
Type: text/x-patch
Size: 30332 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191207/bd618802/attachment-0001.bin>

More information about the wine-devel mailing list