diff options
| -rw-r--r-- | slang.h | 4 | ||||
| -rw-r--r-- | tools/gfx/slang-context.h | 1 |
2 files changed, 0 insertions, 5 deletions
@@ -4068,10 +4068,6 @@ namespace slang */ SlangFloatingPointMode floatingPointMode = SLANG_FLOATING_POINT_MODE_DEFAULT; - /** Optimization level to use for the target. - */ - SlangOptimizationLevel optimizationLevel = SLANG_OPTIMIZATION_LEVEL_DEFAULT; - /** The line directive mode for output source code. */ SlangLineDirectiveMode lineDirectiveMode = SLANG_LINE_DIRECTIVE_MODE_DEFAULT; diff --git a/tools/gfx/slang-context.h b/tools/gfx/slang-context.h index 0a878e0f5..61dc9baa4 100644 --- a/tools/gfx/slang-context.h +++ b/tools/gfx/slang-context.h @@ -37,7 +37,6 @@ namespace gfx if (targetProfile == nullptr) targetProfile = defaultProfileName; targetDesc.profile = globalSession->findProfile(targetProfile); - targetDesc.optimizationLevel = desc.optimizationLevel; targetDesc.floatingPointMode = desc.floatingPointMode; targetDesc.lineDirectiveMode = desc.lineDirectiveMode; targetDesc.flags = desc.targetFlags; |
