d3d12/gl: Supports SSA in Fragment Shader.

This commit is contained in:
Vincent Lejeune 2016-02-22 21:53:46 +01:00
parent a6d8d1144c
commit 62246f75c8
2 changed files with 5 additions and 0 deletions

View file

@ -116,6 +116,8 @@ void GLFragmentDecompilerThread::insertMainStart(std::stringstream & OS)
OS << ";" << std::endl;
}
}
OS << " vec4 ssa = gl_FrontFacing ? vec4(1.) : vec4(-1.);\n";
}
void GLFragmentDecompilerThread::insertMainEnd(std::stringstream & OS)