summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp3
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
};