Geometry shader core since GLSL 150
This commit is contained in:
parent
fd9e7ccb93
commit
fb1820e2f5
@ -275,7 +275,7 @@ void CompilerGLSL::find_static_extensions()
|
|||||||
case ExecutionModelGeometry:
|
case ExecutionModelGeometry:
|
||||||
if (options.es && options.version < 320)
|
if (options.es && options.version < 320)
|
||||||
require_extension("GL_EXT_geometry_shader");
|
require_extension("GL_EXT_geometry_shader");
|
||||||
if (!options.es && options.version < 320)
|
if (!options.es && options.version < 150)
|
||||||
require_extension("GL_ARB_geometry_shader4");
|
require_extension("GL_ARB_geometry_shader4");
|
||||||
|
|
||||||
if ((execution.flags & (1ull << ExecutionModeInvocations)) && execution.invocations != 1)
|
if ((execution.flags & (1ull << ExecutionModeInvocations)) && execution.invocations != 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user