swr: [rasterizer core] disable cull for rect_list
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user