panfrost: Enable sRGB fixed-function blending

Graphics / Mesa 3D Graphics Library / Mesa - Alyssa Rosenzweig [collabora.com] - 18 June 2019 16:59 EDT

For fixed-function, we have hardware to handle sRGB so we just set a flag. For blend shaders, it's rather more involved; this is currently unimplemented. Assert it out for now; we don't need it quite yet.

6585bb9f523 panfrost: Enable sRGB fixed-function blending
src/gallium/drivers/panfrost/include/panfrost-job.h | 6 +++---
src/gallium/drivers/panfrost/pan_context.c | 14 ++++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share