summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-specialize-resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-specialize-resources.cpp')
-rw-r--r--source/slang/slang-ir-specialize-resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-specialize-resources.cpp b/source/slang/slang-ir-specialize-resources.cpp
index 95dc39729..bb3d59bf2 100644
--- a/source/slang/slang-ir-specialize-resources.cpp
+++ b/source/slang/slang-ir-specialize-resources.cpp
@@ -1243,7 +1243,7 @@ bool isIllegalSPIRVParameterType(IRType* type)
// If we are emitting SPIRV direclty, we need to specialize
// all Texture types.
- if (auto texType = as<IRTextureType>(type))
+ if (as<IRTextureType>(type))
return true;
return false;
}