Issue 6765 in angleproject: 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

130 views
Skip to first unread message

zx893… via monorail

unread,
Dec 3, 2021, 11:23:56 PM12/3/21
to angleproj...@googlegroups.com
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=6765

What 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

syous… via monorail

unread,
Dec 4, 2021, 9:01:17 PM12/4/21
to angleproj...@googlegroups.com
Updates:
Labels: OS-Windows Renderer-D3D11

Comment #1 on issue 6765 by syou...@chromium.org: 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=6765#c1

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages