From da3fd6d1f9a24f881ef09a170f998b471d054742 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 31 Jan 2019 08:26:41 -0800 Subject: Improved handling unordered_maps --- RenderScript/src/BlendStateDescParser.cpp | 8 -------- RenderScript/src/DepthStencilStateDescParser.cpp | 5 ----- RenderScript/src/PSODescParser.cpp | 5 ----- RenderScript/src/ShaderParser.cpp | 6 ------ 4 files changed, 24 deletions(-) (limited to 'RenderScript/src') diff --git a/RenderScript/src/BlendStateDescParser.cpp b/RenderScript/src/BlendStateDescParser.cpp index 3702628..dbc4529 100644 --- a/RenderScript/src/BlendStateDescParser.cpp +++ b/RenderScript/src/BlendStateDescParser.cpp @@ -26,14 +26,6 @@ #include "LuaWrappers.h" #include "ClassMethodBinding.h" - -namespace std -{ - DEFINE_ENUM_HASH( Diligent::BLEND_FACTOR ) - DEFINE_ENUM_HASH( Diligent::BLEND_OPERATION ) - DEFINE_ENUM_HASH( Diligent::COLOR_MASK ) -} - namespace Diligent { class RenderTargetBlendDescArrayParser; diff --git a/RenderScript/src/DepthStencilStateDescParser.cpp b/RenderScript/src/DepthStencilStateDescParser.cpp index 12a64f7..ef127d5 100644 --- a/RenderScript/src/DepthStencilStateDescParser.cpp +++ b/RenderScript/src/DepthStencilStateDescParser.cpp @@ -24,11 +24,6 @@ #include "pch.h" #include "DepthStencilStateDescParser.h" -namespace std -{ - DEFINE_ENUM_HASH( Diligent::STENCIL_OP ) -} - namespace Diligent { template<> diff --git a/RenderScript/src/PSODescParser.cpp b/RenderScript/src/PSODescParser.cpp index 3099140..b1da543 100644 --- a/RenderScript/src/PSODescParser.cpp +++ b/RenderScript/src/PSODescParser.cpp @@ -28,11 +28,6 @@ #include "DepthStencilStateDescParser.h" #include "InputLayoutDescParser.h" -namespace std -{ - DEFINE_ENUM_HASH( Diligent::PRIMITIVE_TOPOLOGY ) -} - namespace Diligent { class RTVFormatsParser; diff --git a/RenderScript/src/ShaderParser.cpp b/RenderScript/src/ShaderParser.cpp index 61218dd..761e1af 100644 --- a/RenderScript/src/ShaderParser.cpp +++ b/RenderScript/src/ShaderParser.cpp @@ -26,12 +26,6 @@ #include "BasicShaderSourceStreamFactory.h" #include "SamplerParser.h" - -namespace std -{ - DEFINE_ENUM_HASH( Diligent::SHADER_VARIABLE_TYPE ) -} - namespace Diligent { const Char* ShaderParser::ShaderLibName = "Shader"; -- cgit v1.2.3