vc4: Add support for blending

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 15 August 2014 14:01 UTC

Passes blendminmax and blendsquare. glean's more serious blendFunc fails in simulation due to binner memory overflow (I really need to work around that), and fbo-blending-formats fails due to Mesa refusing one of the getter requests, even before it could fail due to the driver not actually supporting different formats yet.

7c65b71 vc4: Add support for blending.
src/gallium/drivers/vc4/vc4_program.c | 199 ++++++++++++++++++--
src/gallium/drivers/vc4/vc4_qir.c | 1 +
src/gallium/drivers/vc4/vc4_qir.h | 3 +
src/gallium/drivers/vc4/vc4_qpu_emit.c | 7 +
.../drivers/vc4/vc4_simulator_validate_shaders.c | 1 +
5 files changed, 199 insertions(+), 12 deletions(-)

Upstream: cgit.freedesktop.org


  • Share