summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-02-28 15:35:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-02-28 15:35:57 +0000
commit6384ebb550a265f60dc30220d21460164df07936 (patch)
tree9aee0579f67b8cbb32ee198c2cb5a7a342f69d46 /Graphics/GraphicsEngine
parentFixed memory leak (diff)
downloadDiligentCore-6384ebb550a265f60dc30220d21460164df07936.tar.gz
DiligentCore-6384ebb550a265f60dc30220d21460164df07936.zip
Improved shader resource binding error reporting in ShaderResourceLayoutVk
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h
index 43d6021a..2ac6a2c6 100644
--- a/Graphics/GraphicsEngine/interface/Shader.h
+++ b/Graphics/GraphicsEngine/interface/Shader.h
@@ -27,6 +27,7 @@
/// Definition of the Diligent::IShader interface and related data structures
#include "../../../Primitives/interface/FileStream.h"
+#include "../../../Primitives/interface/FlagEnum.h"
#include "DeviceObject.h"
namespace Diligent
@@ -47,6 +48,7 @@ enum SHADER_TYPE : Uint32
SHADER_TYPE_DOMAIN = 0x010, ///< Domain (tessellation evaluation) shader
SHADER_TYPE_COMPUTE = 0x020 ///< Compute shader
};
+DEFINE_FLAG_ENUM_OPERATORS(SHADER_TYPE);
enum SHADER_PROFILE : Uint8
{