summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_state.cpp
diff options
context:
space:
mode:
authorBruce Cherniak <[email protected]>2016-05-24 15:00:17 -0500
committerTim Rowley <[email protected]>2016-05-25 18:47:16 -0500
commitc8835a592471a0238e296f6529b5dadb431cc622 (patch)
tree2e75f1fcde19886777c15f4a6ca471cdc0dc3604 /src/gallium/drivers/swr/swr_state.cpp
parent978ab88858170b219cf6b66eaac11e89ae2f0ce9 (diff)
swr: [rasterizer] Correctly select optimized primitive assembly.
Indexed primitives were always using cut-aware primitive assembly, whether primitive_restart was enabled or not. Correctly pass down primitive_restart and select optimized PA when possible. Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_state.cpp')
-rw-r--r--src/gallium/drivers/swr/swr_state.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp
index a7ae9df2d3e..f9326f35230 100644
--- a/src/gallium/drivers/swr/swr_state.cpp
+++ b/src/gallium/drivers/swr/swr_state.cpp
@@ -1347,10 +1347,6 @@ swr_update_derived(struct pipe_context *pipe,
SwrSetLinkage(ctx->swrContext, linkage, NULL);
- // set up frontend state
- SWR_FRONTEND_STATE feState = {0};
- SwrSetFrontendState(ctx->swrContext, &feState);
-
// set up backend state
SWR_BACKEND_STATE backendState = {0};
backendState.numAttributes = 1;