Add support for derivative instructions in D3D11.

TRAC #22424 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Jamie Madill git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1836 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 58ae0f6f
...@@ -2012,9 +2012,15 @@ bool Renderer11::getShareHandleSupport() const ...@@ -2012,9 +2012,15 @@ bool Renderer11::getShareHandleSupport() const
bool Renderer11::getDerivativeInstructionSupport() const bool Renderer11::getDerivativeInstructionSupport() const
{ {
// TODO switch (mFeatureLevel)
// UNIMPLEMENTED(); {
case D3D_FEATURE_LEVEL_11_0:
case D3D_FEATURE_LEVEL_10_1:
case D3D_FEATURE_LEVEL_10_0:
return true;
default: UNREACHABLE();
return false; return false;
}
} }
int Renderer11::getMajorShaderModel() const int Renderer11::getMajorShaderModel() const
......
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