diff options
author | Tim Rowley <[email protected]> | 2016-08-09 17:23:19 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-08-10 11:09:48 -0500 |
commit | 61981602505a6e0f59e5c1026651d074df2218a5 (patch) | |
tree | dc029293012b28ab55f502169d54cd72132e387c /src/gallium/drivers/swr | |
parent | 9aa75e5d46b9c2cf4eba2c182874a86ea9f5464a (diff) |
swr: [rasterizer core] unused variable warning fixes
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/backend.cpp | 4 | ||||
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/clip.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/frontend.cpp | 5 |
3 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/backend.cpp b/src/gallium/drivers/swr/rasterizer/core/backend.cpp index d360e6cb6a2..dff86b3ee76 100644 --- a/src/gallium/drivers/swr/rasterizer/core/backend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/backend.cpp @@ -389,7 +389,6 @@ void BackendSingleSample(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint3 RDTSC_START(BESingleSampleBackend); RDTSC_START(BESetup); - SWR_CONTEXT *pContext = pDC->pContext; const API_STATE& state = GetApiState(pDC); const SWR_RASTSTATE& rastState = state.rastState; const SWR_PS_STATE *pPSState = &state.psState; @@ -581,7 +580,6 @@ void BackendSampleRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_ RDTSC_START(BESampleRateBackend); RDTSC_START(BESetup); - SWR_CONTEXT *pContext = pDC->pContext; const API_STATE& state = GetApiState(pDC); const SWR_RASTSTATE& rastState = state.rastState; const SWR_PS_STATE *pPSState = &state.psState; @@ -803,7 +801,6 @@ void BackendPixelRate(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t RDTSC_START(BEPixelRateBackend); RDTSC_START(BESetup); - SWR_CONTEXT *pContext = pDC->pContext; const API_STATE& state = GetApiState(pDC); const SWR_RASTSTATE& rastState = state.rastState; const SWR_PS_STATE *pPSState = &state.psState; @@ -1024,7 +1021,6 @@ void BackendNullPS(DRAW_CONTEXT *pDC, uint32_t workerId, uint32_t x, uint32_t y, typedef SwrBackendTraits<sampleCountT, SWR_MSAA_STANDARD_PATTERN> T; RDTSC_START(BESetup); - SWR_CONTEXT *pContext = pDC->pContext; const API_STATE& state = GetApiState(pDC); const SWR_RASTSTATE& rastState = pDC->pState->state.rastState; diff --git a/src/gallium/drivers/swr/rasterizer/core/clip.h b/src/gallium/drivers/swr/rasterizer/core/clip.h index b173ae59b45..2736992b579 100644 --- a/src/gallium/drivers/swr/rasterizer/core/clip.h +++ b/src/gallium/drivers/swr/rasterizer/core/clip.h @@ -495,7 +495,6 @@ public: } // update global pipeline stat - SWR_CONTEXT* pContext = this->pDC->pContext; UPDATE_STAT_FE(CPrimitives, numClippedPrims); } @@ -522,7 +521,6 @@ public: }; // update clipper invocations pipeline stat - SWR_CONTEXT* pContext = this->pDC->pContext; uint32_t numInvoc = _mm_popcnt_u32(primMask); UPDATE_STAT_FE(CInvocations, numInvoc); @@ -559,7 +557,6 @@ public: else if (validMask) { // update CPrimitives pipeline state - SWR_CONTEXT* pContext = this->pDC->pContext; UPDATE_STAT_FE(CPrimitives, _mm_popcnt_u32(validMask)); // forward valid prims directly to binner diff --git a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp index 7f89d8526f2..6039be063d6 100644 --- a/src/gallium/drivers/swr/rasterizer/core/frontend.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/frontend.cpp @@ -510,8 +510,6 @@ static void StreamOut( { RDTSC_START(FEStreamout); - SWR_CONTEXT* pContext = pDC->pContext; - const API_STATE& state = GetApiState(pDC); const SWR_STREAMOUT_STATE &soState = state.soState; @@ -668,8 +666,6 @@ static void GeometryShaderStage( { RDTSC_START(FEGeometryShader); - SWR_CONTEXT* pContext = pDC->pContext; - const API_STATE& state = GetApiState(pDC); const SWR_GS_STATE* pState = &state.gsState; @@ -962,7 +958,6 @@ static void TessellationStages( { const API_STATE& state = GetApiState(pDC); const SWR_TS_STATE& tsState = state.tsState; - SWR_CONTEXT *pContext = pDC->pContext; // Needed for UPDATE_STATS macro SWR_ASSERT(gt_pTessellationThreadData); |