Module: wine
Branch: master
Commit: a37b16e4afb59abe73288270d7da7c57bc5ac078
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a37b16e4afb59abe73288270…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Thu Mar 10 19:22:46 2022 -0600
d3d11: Report support for ConstantBufferPartialUpdate.
Microsoft is not exactly clear what this means, but it seems likely it refers to
the ability to bind a range of a constant buffer [i.e. with
ID3D11DeviceContext::*SetConstantBuffers1()] rather than the whole buffer.
Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/d3d11/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3d11/device.c b/dlls/d3d11/device.c
index 7d2c2636f4b..e73d6726f5d 100644
--- a/dlls/d3d11/device.c
+++ b/dlls/d3d11/device.c
@@ -4087,7 +4087,7 @@ static HRESULT STDMETHODCALLTYPE d3d11_device_CheckFeatureSupport(ID3D11Device2
options->FlagsForUpdateAndCopySeenByDriver = FALSE;
options->ClearView = FALSE;
options->CopyWithOverlap = FALSE;
- options->ConstantBufferPartialUpdate = FALSE;
+ options->ConstantBufferPartialUpdate = TRUE;
options->ConstantBufferOffsetting = TRUE;
options->MapNoOverwriteOnDynamicConstantBuffer = TRUE;
options->MapNoOverwriteOnDynamicBufferSRV = TRUE;