Skip to content

Commit

Permalink
gl: Require GLSL 450 when using barycentric extension
Browse files Browse the repository at this point in the history
  • Loading branch information
kd-11 committed Dec 11, 2022
1 parent 941ecc7 commit 26021e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpcs3/Emu/RSX/GL/GLFragmentProgram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void GLFragmentDecompilerThread::insertHeader(std::stringstream & OS)

if (m_prog.ctrl & RSX_SHADER_CONTROL_ATTRIBUTE_INTERPOLATION)
{
gl_version = std::max(gl_version, 450);
required_extensions.push_back("GL_NV_fragment_shader_barycentric");
}

Expand Down

0 comments on commit 26021e1

Please sign in to comment.