diff --git a/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLSeparableProgram.cpp b/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLSeparableProgram.cpp index 23783563a87..1d712c2f6fe 100644 --- a/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLSeparableProgram.cpp +++ b/RenderSystems/GL3Plus/src/GLSL/src/OgreGLSLSeparableProgram.cpp @@ -68,6 +68,7 @@ namespace Ogre } #define GL_MESH_SHADER_BIT_NV 0x00000040 + #define GL_TASK_SHADER_BIT_NV 0x00000080 GLenum ogre2gltype[GPT_COUNT] = { GL_VERTEX_SHADER_BIT, GL_FRAGMENT_SHADER_BIT, @@ -75,7 +76,8 @@ namespace Ogre GL_TESS_EVALUATION_SHADER_BIT, GL_TESS_CONTROL_SHADER_BIT, GL_MESH_SHADER_BIT_NV, - GL_COMPUTE_SHADER_BIT + GL_COMPUTE_SHADER_BIT, + GL_TASK_SHADER_BIT_NV }; for (auto s : mShaders)