swr: [rasterizer core] per-primitive viewports/scissors

Graphics / Mesa 3D Graphics Library / Mesa - Tim Rowley [intel.com] - 29 August 2016 12:41 UTC

- use per-primitive viewports throughout the pipeline.
- track whether all available scissor rects are tile aligned. Causes failures, so not taken into account when choosing rasterizer yet.

b473bec swr: [rasterizer core] per-primitive viewports/scissors
src/gallium/drivers/swr/rasterizer/core/api.cpp | 64 +++++----
.../drivers/swr/rasterizer/core/backend.cpp | 28 ++--
src/gallium/drivers/swr/rasterizer/core/backend.h | 7 +-
src/gallium/drivers/swr/rasterizer/core/context.h | 4 +-
.../drivers/swr/rasterizer/core/depthstencil.h | 6 +-
.../drivers/swr/rasterizer/core/frontend.cpp | 144 ++++++++++++++++++--
.../drivers/swr/rasterizer/core/rasterizer.cpp | 32 +++--
7 files changed, 214 insertions(+), 71 deletions(-)

Upstream: cgit.freedesktop.org


  • Share