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

@ -15,7 +15,7 @@ std::string GLFragmentDecompilerThread::getFloatTypeName(size_t elementCount)
std::string GLFragmentDecompilerThread::getFunction(FUNCTION f)
{
return gl::getFunctionImpl(f);
return glsl::getFunctionImpl(f);
}
std::string GLFragmentDecompilerThread::saturate(const std::string & code)