diff --git a/src/Magnum/ShaderTools/Stage.cpp b/src/Magnum/ShaderTools/Stage.cpp index 84fb6d6dd..9351679d1 100644 --- a/src/Magnum/ShaderTools/Stage.cpp +++ b/src/Magnum/ShaderTools/Stage.cpp @@ -50,6 +50,7 @@ Debug& operator<<(Debug& debug, const Stage value) { _c(RayCallable) _c(MeshTask) _c(Mesh) + _c(Kernel) #undef _c /* LCOV_EXCL_STOP */ } diff --git a/src/Magnum/ShaderTools/Stage.h b/src/Magnum/ShaderTools/Stage.h index ebc44e7b5..b4b78f027 100644 --- a/src/Magnum/ShaderTools/Stage.h +++ b/src/Magnum/ShaderTools/Stage.h @@ -75,7 +75,15 @@ enum class Stage: UnsignedInt { RayCallable, /**< Ray callable stage */ MeshTask, /**< Mesh task stage */ - Mesh /**< Mesh stage */ + Mesh, /**< Mesh stage */ + + /** + * Compute kernel. + * + * Compared to @ref Stage::Compute, which is used by graphics APIs such as + * Vulkan or OpenGL, this one is for use by OpenCL. + */ + Kernel }; /**