mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
gl: Require GLSL 450 when using barycentric extension
This commit is contained in:
parent
941ecc76a1
commit
26021e11f7
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue