swr: [rasterizer] Small warning cleanup

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2016-05-02 13:35:25 -06:00
parent b39c530f88
commit 2be7c3e780
2 changed files with 4 additions and 8 deletions

View file

@ -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);

View file

@ -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;