From 08ac16ebd14c2f8f8fddccf61acc3b51991de49f Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Tue, 3 Sep 2024 20:15:17 +0200 Subject: [PATCH] GL3Plus: add missing mapping for task shaders --- .../GL3Plus/src/GLSL/src/OgreGLSLSeparableProgram.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)