swr: [rasterizer core] Split all RECT_LIST draws into 1 RECT per draw
Needed until proper RECT_LIST PrimAssembly code is written.
This commit is contained in:
@@ -1005,6 +1005,11 @@ uint32_t MaxVertsPerDraw(
|
||||
}
|
||||
break;
|
||||
|
||||
// The Primitive Assembly code can only handle 1 RECT at a time.
|
||||
case TOP_RECT_LIST:
|
||||
vertsPerDraw = 3;
|
||||
break;
|
||||
|
||||
default:
|
||||
// We are not splitting up draws for other topologies.
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user