diff options
author | Tim Rowley <[email protected]> | 2016-02-17 17:55:59 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-03-25 14:26:16 -0500 |
commit | 45a4afa634bdca2b1147a76b74ed15a690b7a014 (patch) | |
tree | 6d4ddec48fa9aacf88fcb339502a0a57798d8452 | |
parent | 3a251859903dd567ba81d86f06f5c86933a010af (diff) |
swr: [rasterizer core] Split all RECT_LIST draws into 1 RECT per draw
Needed until proper RECT_LIST PrimAssembly code is written.
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/api.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp index fccccab503c..c70b4fafedd 100644 --- a/src/gallium/drivers/swr/rasterizer/core/api.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp @@ -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; |