swr/rast: whitespace changes
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
ac9d7c3d33
commit
b10c9507ce
|
@ -329,7 +329,6 @@ DRAW_CONTEXT* GetDrawContext(SWR_CONTEXT *pContext, bool isSplitDraw = false)
|
|||
pCurDrawContext->drawId = pContext->dcRing.GetHead();
|
||||
|
||||
pCurDrawContext->cleanupState = true;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -783,10 +782,12 @@ void SetupMacroTileScissors(DRAW_CONTEXT *pDC)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
// templated backend function tables
|
||||
extern PFN_BACKEND_FUNC gBackendNullPs[SWR_MULTISAMPLE_TYPE_COUNT];
|
||||
extern PFN_BACKEND_FUNC gBackendSingleSample[SWR_INPUT_COVERAGE_COUNT][2][2];
|
||||
extern PFN_BACKEND_FUNC gBackendSampleRateTable[SWR_MULTISAMPLE_TYPE_COUNT][SWR_INPUT_COVERAGE_COUNT][2][2];
|
||||
|
||||
void SetupPipeline(DRAW_CONTEXT *pDC)
|
||||
{
|
||||
DRAW_STATE* pState = pDC->pState;
|
||||
|
@ -1133,7 +1134,6 @@ void DrawInstanced(
|
|||
pState->rastState.cullMode = SWR_CULLMODE_NONE;
|
||||
}
|
||||
|
||||
|
||||
int draw = 0;
|
||||
while (remainingVerts)
|
||||
{
|
||||
|
@ -1174,7 +1174,6 @@ void DrawInstanced(
|
|||
pDC = GetDrawContext(pContext);
|
||||
pDC->pState->state.rastState.cullMode = oldCullMode;
|
||||
|
||||
|
||||
AR_API_END(APIDraw, numVertices * numInstances);
|
||||
}
|
||||
|
||||
|
@ -1276,7 +1275,6 @@ void DrawIndexedInstance(
|
|||
pState->rastState.cullMode = SWR_CULLMODE_NONE;
|
||||
}
|
||||
|
||||
|
||||
while (remainingIndices)
|
||||
{
|
||||
uint32_t numIndicesForDraw = (remainingIndices < maxIndicesPerDraw) ?
|
||||
|
@ -1322,7 +1320,6 @@ void DrawIndexedInstance(
|
|||
pDC = GetDrawContext(pContext);
|
||||
pDC->pState->state.rastState.cullMode = oldCullMode;
|
||||
|
||||
|
||||
AR_API_END(APIDrawIndexed, numIndices * numInstances);
|
||||
}
|
||||
|
||||
|
@ -1657,7 +1654,6 @@ void SwrInit()
|
|||
InitBackendFuncTables();
|
||||
}
|
||||
|
||||
|
||||
void SwrGetInterface(SWR_INTERFACE &out_funcs)
|
||||
{
|
||||
out_funcs.pfnSwrCreateContext = SwrCreateContext;
|
||||
|
|
|
@ -418,8 +418,6 @@ struct DRAW_CONTEXT
|
|||
volatile int32_t threadsDone;
|
||||
|
||||
SYNC_DESC retireCallback; // Call this func when this DC is retired.
|
||||
|
||||
|
||||
};
|
||||
|
||||
static_assert((sizeof(DRAW_CONTEXT) & 63) == 0, "Invalid size for DRAW_CONTEXT");
|
||||
|
|
|
@ -1046,6 +1046,7 @@ struct SWR_RASTSTATE
|
|||
uint8_t clipDistanceMask;
|
||||
};
|
||||
|
||||
|
||||
enum SWR_CONSTANT_SOURCE
|
||||
{
|
||||
SWR_CONSTANT_SOURCE_CONST_0000,
|
||||
|
|
Loading…
Reference in New Issue