vk/gl: Enable alpha test in shaders (#1743)

This commit is contained in:
kd-11 2016-06-05 20:31:23 +03:00 committed by Ivan
parent 9710044134
commit c4102f3b18
6 changed files with 77 additions and 2 deletions

View file

@ -35,6 +35,8 @@ void GLVertexDecompilerThread::insertHeader(std::stringstream &OS)
OS << " mat4 scaleOffsetMat;" << std::endl;
OS << " float fog_param0;\n";
OS << " float fog_param1;\n";
OS << " uint alpha_test;\n";
OS << " float alpha_ref;\n";
OS << "};" << std::endl;
}