Skip to content

Commit

Permalink
GL3Plus: add missing mapping for task shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Sep 3, 2024
1 parent f4ada46 commit 52c427d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,16 @@ 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,
GL_GEOMETRY_SHADER_BIT,
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)
Expand Down

0 comments on commit 52c427d

Please sign in to comment.