swr: [rasterizer] Small warning cleanup
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
index 4d5afea..0834610 100644
--- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
@@ -1125,7 +1125,10 @@
{
simdvector prim[3]; // Only deal with triangles, lines, or points
RDTSC_START(FEPAAssemble);
- bool assemble = tessPa.Assemble(VERTEX_POSITION_SLOT, prim);
+#if SWR_ENABLE_ASSERTS
+ bool assemble =
+#endif
+ tessPa.Assemble(VERTEX_POSITION_SLOT, prim);
RDTSC_STOP(FEPAAssemble, 1, 0);
SWR_ASSERT(assemble);
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
index 9861eae..14ba893 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
@@ -163,13 +163,6 @@
StructType* mV4FP32Ty;
StructType* mV4Int32Ty;
- // helper scalar function types
- FunctionType* mUnaryFPTy;
- FunctionType* mBinaryFPTy;
- FunctionType* mTrinaryFPTy;
- FunctionType* mUnaryIntTy;
- FunctionType* mBinaryIntTy;
-
Type* mSimtFP32Ty;
Type* mSimtInt32Ty;