TextureStorage11 classes now create shader resource views for depth stencils.

TRAC #22500 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1908 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 955014de
......@@ -87,6 +87,9 @@ class TextureStorage11_2D : public TextureStorage11
ID3D11Texture2D *mTexture;
DXGI_FORMAT mTextureFormat;
DXGI_FORMAT mShaderResourceFormat;
DXGI_FORMAT mRenderTargetFormat;
DXGI_FORMAT mDepthStencilFormat;
unsigned int mTextureWidth;
unsigned int mTextureHeight;
......@@ -113,6 +116,9 @@ class TextureStorage11_Cube : public TextureStorage11
ID3D11Texture2D *mTexture;
DXGI_FORMAT mTextureFormat;
DXGI_FORMAT mShaderResourceFormat;
DXGI_FORMAT mRenderTargetFormat;
DXGI_FORMAT mDepthStencilFormat;
unsigned int mTextureWidth;
unsigned int mTextureHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment