mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
swr: [rasterizer core] disable cull for rect_list
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
b3bd8bb611
commit
e845eeb0be
1 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue