--- src/gallium/drivers/swr/rasterizer/core/api.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp index f45da96..99d3cd5 100644 --- a/src/gallium/drivers/swr/rasterizer/core/api.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp @@ -921,7 +921,7 @@ void SetupPipeline(DRAW_CONTEXT *pDC) }; - // disable clipper if viewport transform is disabled + // Disable clipper if viewport transform is disabled if (pState->state.frontendState.vpTransformDisable) { pState->pfnProcessPrims = pfnBinner; @@ -930,6 +930,7 @@ void SetupPipeline(DRAW_CONTEXT *pDC) #endif } + // Disable rasterizer and backend if no pixel, no depth/stencil, and no attributes if ((pState->state.psState.pfnPixelShader == nullptr) && (pState->state.depthStencilState.depthTestEnable == FALSE) && (pState->state.depthStencilState.depthWriteEnable == FALSE) && -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev