Added utility functions for converting depth stencil DXGI_FORMATs.
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@1907 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/renderer11_utils.h b/src/libGLESv2/renderer/renderer11_utils.h
index 875b5e0..8c9f3b3 100644
--- a/src/libGLESv2/renderer/renderer11_utils.h
+++ b/src/libGLESv2/renderer/renderer11_utils.h
@@ -72,6 +72,9 @@
size_t ComputeBlockSizeBits(DXGI_FORMAT format);
bool IsDepthStencilFormat(DXGI_FORMAT format);
+DXGI_FORMAT GetDepthTextureFormat(DXGI_FORMAT format);
+DXGI_FORMAT GetDepthShaderResourceFormat(DXGI_FORMAT format);
+
HRESULT SetDebugName(ID3D11DeviceChild *resource, const char *name);
inline bool isDeviceLostError(HRESULT errorCode)