BBBsmoke / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Fix SwapChain11 backbuffer depth stencil issues on FL9_3 #856

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We seem to have problems with supporting Depth Textures on Windows 7. They seem 
to work okay on Windows 8, but currently in SwapChain11 we get a failure:

D3D11 ERROR: ID3D11Device::CreateTexture2D: Device does not support the format 
R24G8_TYPELESS. [ STATE_CREATION ERROR #92: CREATETEXTURE2D_UNSUPPORTEDFORMAT]

Assigning to you, Austin.

Original issue reported on code.google.com by jmad...@chromium.org on 23 Dec 2014 at 5:07

GoogleCodeExporter commented 9 years ago
See issue chromium:435726.

Original comment by jmad...@chromium.org on 23 Dec 2014 at 5:07

GoogleCodeExporter commented 9 years ago
Ah, yes. D3D10Level9 didn't support *_TYPELESS formats in Windows 7. Limited 
support for this was added in Windows 8.

We've hit similar issues on some Win8 drivers before, so we already have a fix 
for this in our branch. I'll port the fix over today.

Original comment by aukin...@microsoft.com on 23 Dec 2014 at 8:01

GoogleCodeExporter commented 9 years ago
Great! The other issue was the availability of the depth stencil SRV, and using 
it as a shader resources. I guess 9_3 doesn't have depth textures, at least on 
Windows 7. Thank you Austin.

Original comment by jmad...@chromium.org on 23 Dec 2014 at 8:14

GoogleCodeExporter commented 9 years ago
This was fixed here: https://chromium-review.googlesource.com/#/c/237292/

Original comment by aukin...@microsoft.com on 22 Jan 2015 at 12:53