Optimizations of log2 for ivec4

This commit is contained in:
Christophe Riccio
2014-11-24 01:56:36 +01:00
parent 117634c7ea
commit e8fbcf76dd
5 changed files with 171 additions and 40 deletions

View File

@@ -887,12 +887,6 @@ namespace sign
Error += Data[i].Return == Result ? 0 : 1;
}
for(std::size_t i = 0; i < sizeof(Data) / sizeof(type<glm::int32>); ++i)
{
glm::int32 Result = sign_sub(Data[i].Value);
Error += Data[i].Return == Result ? 0 : 1;
}
return Error;
}