Status: Untriaged
Owner: ----
Priority: Medium
Type: Defect
New issue 6765 by zx893...@
gmail.com: D3D11 debug layer ERROR: ID3D11DeviceContext::CopySubresourceRegion: If CopySubresourceRegion is used with Multisampled or D3D11_BIND_DEPTH_STENCIL Resources, then the source and destination Subresource must have the same dimensions
https://bugs.chromium.org/p/angleproject/issues/detail?id=6765What steps will reproduce the problem?
1.Modify SampleApplication::run() function, set
configParams.samples = 4;
configParams.multisample = true;
Run sample hello_triangle
NOTE: DO NOT use present path fast to make sure SwapChain use offscreen texture
2.Reszie window
3.See Visual Studio debug output
What is the expected output? What do you see instead?
Run with Visual Studio Graphic Debugger cause unhandled exception at CopySubresourceRegion
According to ms doc:
https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copysubresourceregion multisampled resource,must copy the whole subresource
What version of the product are you using? On what operating system?
Just branch:main commit:10e5f34d1439f0bcd5b30bea5bfbf6bdaafd4935
OS: Windows10 20H2 19042.1348
In addition(this maybe another issue or my misunderstanding):Why present twice while resize window?
Please provide any additional information below.
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings