diff options
| author | azhirnov <zh1dron@gmail.com> | 2020-09-01 19:59:44 +0000 |
|---|---|---|
| committer | azhirnov <zh1dron@gmail.com> | 2020-09-01 21:57:32 +0000 |
| commit | 2e6f369080b6911d17b4e8a5296ca8400b09de86 (patch) | |
| tree | 0a553410f4cf68a979037bc373df5db274586d67 /Graphics/GraphicsEngineD3DBase | |
| parent | fixed compilation on linux & android (diff) | |
| download | DiligentCore-2e6f369080b6911d17b4e8a5296ca8400b09de86.tar.gz DiligentCore-2e6f369080b6911d17b4e8a5296ca8400b09de86.zip | |
fixed compilation on Mac & UWP
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp index 1370a726..451cc610 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp @@ -162,7 +162,8 @@ static HRESULT CompileDxilShader(const char* Source, //L"-Qembed_debug", // Embed debug info into the shader (some compilers do not recognize this flag) L"-Od", // Disable optimization #else - L"-O3", // Optimization level 3 + L"-Od", // TODO: something goes wrong if used any optimizations + //L"-O3", // Optimization level 3 #endif }; |
