[PATCH 3/3] d3d11: Report support for ConstantBufferPartialUpdate.

Zebediah Figura zfigura at codeweavers.com
Thu Mar 10 19:22:46 CST 2022


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 at codeweavers.com>
---
 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 4d1a60522aa..acfc7bdeeb8 100644
--- a/dlls/d3d11/device.c
+++ b/dlls/d3d11/device.c
@@ -4090,7 +4090,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;
-- 
2.35.1




More information about the wine-devel mailing list