summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-05-02 13:35:25 -0600
committerTim Rowley <[email protected]>2016-05-05 14:50:03 -0500
commit2be7c3e780977678eb423e75cf063f92f7d03916 (patch)
tree99f903a52e6c508be1dfc247687ed7850e237834 /src
parentb39c530f88454addd507ea1ddc167597d3f333ae (diff)
swr: [rasterizer] Small warning cleanup
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/frontend.cpp5
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/JitManager.h7
2 files changed, 4 insertions, 8 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
index 4d5afea5d32..08346106fbf 100644
--- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
+++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp
@@ -1125,7 +1125,10 @@ static void TessellationStages(
{
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 9861eae78aa..14ba893fc25 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.h
@@ -163,13 +163,6 @@ struct JitManager
StructType* mV4FP32Ty;
StructType* mV4Int32Ty;
- // helper scalar function types
- FunctionType* mUnaryFPTy;
- FunctionType* mBinaryFPTy;
- FunctionType* mTrinaryFPTy;
- FunctionType* mUnaryIntTy;
- FunctionType* mBinaryIntTy;
-
Type* mSimtFP32Ty;
Type* mSimtInt32Ty;