Commit 18e2a972 by Alexis Hetu Committed by Alexis Hétu

GLSL bitwise NOT implementation

The bitwise NOT operation is supported for integer types in GLSL. All the plumbing was already there, only the actual call was missing. In dEQP, all shaders.operator.unary_operator.bitwise_not tests pass. Change-Id: I938104b860441f6b2df6c807d578f651e5cd2516 Reviewed-on: https://swiftshader-review.googlesource.com/11108Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 877ddfc5
......@@ -950,6 +950,7 @@ namespace glsl
break;
case EOpVectorLogicalNot: if(visit == PostVisit) emit(sw::Shader::OPCODE_NOT, result, arg); break;
case EOpLogicalNot: if(visit == PostVisit) emit(sw::Shader::OPCODE_NOT, result, arg); break;
case EOpBitwiseNot: if(visit == PostVisit) emit(sw::Shader::OPCODE_NOT, result, arg); break;
case EOpPostIncrement:
if(visit == PostVisit)
{
......
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