Enable anisotropic filtering support on the D3D11 path.

TRAC #22504 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1873 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent c71ca75a
......@@ -2001,16 +2001,21 @@ bool Renderer11::getLuminanceAlphaTextureSupport()
bool Renderer11::getTextureFilterAnisotropySupport() const
{
// TODO
// UNIMPLEMENTED();
return false;
return true;
}
float Renderer11::getTextureMaxAnisotropy() const
{
// TODO
// UNIMPLEMENTED();
return 1.0f;
switch (mFeatureLevel)
{
case D3D_FEATURE_LEVEL_11_0:
return D3D11_MAX_MAXANISOTROPY;
case D3D_FEATURE_LEVEL_10_1:
case D3D_FEATURE_LEVEL_10_0:
return D3D10_MAX_MAXANISOTROPY;
default: UNREACHABLE();
return 0;
}
}
bool Renderer11::getEventQuerySupport()
......
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