From 6384ebb550a265f60dc30220d21460164df07936 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 28 Feb 2019 07:35:57 -0800 Subject: Improved shader resource binding error reporting in ShaderResourceLayoutVk --- Graphics/GraphicsEngine/interface/Shader.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Graphics/GraphicsEngine') 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 { -- cgit v1.2.3