rsx/vk/gl: Cleanup and refector glsl::getFunctionImpl

- Both backends now generate very similar code
This commit is contained in:
kd-11 2017-11-06 01:48:34 +03:00
parent 86fa379c78
commit 4e9160104a
9 changed files with 75 additions and 149 deletions

View file

@ -18,10 +18,9 @@ std::string GLVertexDecompilerThread::getIntTypeName(size_t elementCount)
return "ivec4";
}
std::string GLVertexDecompilerThread::getFunction(FUNCTION f)
{
return gl::getFunctionImpl(f);
return glsl::getFunctionImpl(f);
}
std::string GLVertexDecompilerThread::compareFunction(COMPARE f, const std::string &Op0, const std::string &Op1)