Geometry shader core since GLSL 150

This commit is contained in:
rob 2017-06-17 10:06:46 +09:00
parent fd9e7ccb93
commit fb1820e2f5

View File

@ -275,7 +275,7 @@ void CompilerGLSL::find_static_extensions()
case ExecutionModelGeometry:
if (options.es && options.version < 320)
require_extension("GL_EXT_geometry_shader");
if (!options.es && options.version < 320)
if (!options.es && options.version < 150)
require_extension("GL_ARB_geometry_shader4");
if ((execution.flags & (1ull << ExecutionModeInvocations)) && execution.invocations != 1)