mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-05 08:10:10 +01:00
gl: Require GLSL 450 when using barycentric extension
This commit is contained in:
parent
941ecc76a1
commit
26021e11f7
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue