swr: [rasterizer core] disable cull for rect_list

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
Tim Rowley 2016-10-04 13:36:12 -05:00
parent b3bd8bb611
commit e845eeb0be

View file

@ -1108,6 +1108,10 @@ void DrawInstanced(
pState->rastState.cullMode = SWR_CULLMODE_NONE;
pState->forceFront = true;
}
else if (topology == TOP_RECT_LIST)
{
pState->rastState.cullMode = SWR_CULLMODE_NONE;
}
int draw = 0;
while (remainingVerts)
@ -1243,6 +1247,10 @@ void DrawIndexedInstance(
pState->rastState.cullMode = SWR_CULLMODE_NONE;
pState->forceFront = true;
}
else if (topology == TOP_RECT_LIST)
{
pState->rastState.cullMode = SWR_CULLMODE_NONE;
}
while (remainingIndices)
{