summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-08 20:19:20 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-08 20:19:20 +0000
commit37a3d0771d015bfc64bd9bd6ef87e294cf5a3a59 (patch)
tree4d357b72cc1cfe6daccef2340a9cee4cc499685c /Graphics/GraphicsEngine
parentBroken shader test: added broken GLSL (diff)
downloadDiligentCore-37a3d0771d015bfc64bd9bd6ef87e294cf5a3a59.tar.gz
DiligentCore-37a3d0771d015bfc64bd9bd6ef87e294cf5a3a59.zip
Broken shader test: added broken MSL; added SHADER_SOURCE_LANGUAGE_MSL
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index dce77a82..bb4acc84 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -71,6 +71,9 @@ DILIGENT_TYPED_ENUM(SHADER_SOURCE_LANGUAGE, Uint32)
/// The source language is GLSL
SHADER_SOURCE_LANGUAGE_GLSL,
+ /// The source language is Metal shading language (MSL)
+ SHADER_SOURCE_LANGUAGE_MSL,
+
/// The source language is GLSL that should be compiled verbatim
/// By default the engine prepends GLSL shader source code with platform-specific