Only retrieve the precision of integer and floating-point types.

TRAC #22635 Signed-off-by: Jamie Madill Signed-off-by: Shannon Woods Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1944 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent d438fd49
...@@ -3179,12 +3179,8 @@ GLenum OutputHLSL::glVariablePrecision(const TType &type) ...@@ -3179,12 +3179,8 @@ GLenum OutputHLSL::glVariablePrecision(const TType &type)
default: UNREACHABLE(); default: UNREACHABLE();
} }
} }
else if (type.getBasicType() == EbtBool)
{
return GL_BOOL; // Booleans don't have a precision
}
else UNREACHABLE();
// Other types (boolean, sampler) don't have a precision
return GL_NONE; return GL_NONE;
} }
......
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