summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorGeorge Kyriazis <george.kyriazis@intel.com>2018-01-19 15:47:08 -0600
committerGeorge Kyriazis <george.kyriazis@intel.com>2018-01-19 16:52:40 -0600
commit3c405e32b0e6a248fa1e35a97276473884517eb1 (patch)
tree7432a339f7d1a6a6bda1b5ca15d7865229861445 /src/gallium
parentfe107e3c1702c23cb8e3cdf01f3aef83b2e5abcb (diff)
swr/rast: silence generated file warnings
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp
index 61c31328a6a..9db6c61b988 100644
--- a/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp
+++ b/src/gallium/drivers/swr/rasterizer/codegen/templates/gen_llvm.hpp
@@ -40,6 +40,7 @@ namespace SwrJit
INLINE static StructType *Gen_${type['name']}(JitManager* pJitMgr)
{
LLVMContext& ctx = pJitMgr->mContext;
+ (void) ctx;
StructType* pRetType = pJitMgr->mpCurrentModule->getTypeByName("${type['name']}");
if (pRetType == nullptr)