Fragment position is given as gl_FragCoord not gl_Position

Fix references to gl_Position in Dx12
This commit is contained in:
kd-11 2016-02-09 12:58:35 +03:00
parent f7f4c049fc
commit 843d0ed298
2 changed files with 3 additions and 3 deletions

View file

@ -274,7 +274,7 @@ template<typename T> std::string FragmentProgramDecompiler::GetSRC(T src)
{
static const std::string reg_table[] =
{
"gl_Position",
"gl_FragCoord",
"diff_color", "spec_color",
"fogc",
"tc0", "tc1", "tc2", "tc3", "tc4", "tc5", "tc6", "tc7", "tc8", "tc9",