rsx/common/d3d12/gl: Support for fog mode.

Fix hitman 2
This commit is contained in:
Vincent Lejeune 2016-02-27 18:43:51 +01:00
parent 9cdb74efc7
commit 32434dd848
10 changed files with 138 additions and 9 deletions

View file

@ -31,6 +31,8 @@ void GLVertexDecompilerThread::insertHeader(std::stringstream &OS)
OS << "layout(std140, binding = 0) uniform ScaleOffsetBuffer" << std::endl;
OS << "{" << std::endl;
OS << " mat4 scaleOffsetMat;" << std::endl;
OS << " float fog_param0;\n";
OS << " float fog_param1;\n";
OS << "};" << std::endl;
}