mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 03:38:38 +12:00
commit
e8d9ea116a
3 changed files with 5 additions and 5 deletions
|
@ -350,7 +350,7 @@ std::string GLFragmentDecompilerThread::BuildCode()
|
||||||
p += param.Format();
|
p += param.Format();
|
||||||
}
|
}
|
||||||
|
|
||||||
return std::string("#version 330\n"
|
return std::string("#version 420\n"
|
||||||
"\n"
|
"\n"
|
||||||
+ p + "\n"
|
+ p + "\n"
|
||||||
"void main()\n{\n" + main + "}\n");
|
"void main()\n{\n" + main + "}\n");
|
||||||
|
|
|
@ -734,7 +734,7 @@ void DrawCursorObj::Draw()
|
||||||
void DrawCursorObj::InitializeShaders()
|
void DrawCursorObj::InitializeShaders()
|
||||||
{
|
{
|
||||||
m_vp.shader =
|
m_vp.shader =
|
||||||
"#version 330\n"
|
"#version 420\n"
|
||||||
"\n"
|
"\n"
|
||||||
"uniform vec4 in_pos;\n"
|
"uniform vec4 in_pos;\n"
|
||||||
"uniform vec2 in_tc;\n"
|
"uniform vec2 in_tc;\n"
|
||||||
|
@ -747,10 +747,10 @@ void DrawCursorObj::InitializeShaders()
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
m_fp.shader =
|
m_fp.shader =
|
||||||
"#version 330\n"
|
"#version 420\n"
|
||||||
"\n"
|
"\n"
|
||||||
"in vec2 tc;\n"
|
"in vec2 tc;\n"
|
||||||
"uniform sampler2D tex0;\n"
|
"layout (binding = 0) uniform sampler2D tex0;\n"
|
||||||
"layout (location = 0) out vec4 res;\n"
|
"layout (location = 0) out vec4 res;\n"
|
||||||
"\n"
|
"\n"
|
||||||
"void main()\n"
|
"void main()\n"
|
||||||
|
|
|
@ -498,7 +498,7 @@ std::string GLVertexDecompilerThread::BuildCode()
|
||||||
}
|
}
|
||||||
|
|
||||||
static const std::string& prot =
|
static const std::string& prot =
|
||||||
"#version 330\n"
|
"#version 420\n"
|
||||||
"\n"
|
"\n"
|
||||||
"uniform mat4 scaleOffsetMat = mat4(1.0);\n"
|
"uniform mat4 scaleOffsetMat = mat4(1.0);\n"
|
||||||
"%s\n"
|
"%s\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue