[Mesa-dev] [PATCH 0/3] Blend shader preparation

Alyssa Rosenzweig alyssa at rosenzweig.io
Wed May 1 03:42:35 UTC 2019


Midgard has only limited fixed-function blending support. For more
complex use cases, including many within ES2, a programmatic "blend
shader" is used instead, autogenerated by the driver and used as a
dedicated post-fragment shader stage. This patch set does some
preliminary work towards enabling blend shaders on Panfrost (again).

Alyssa Rosenzweig (3):
  panfrost: Remove shader dump
  panfrost/decode: Hit MRT blend shader enable bits
  panfrost: Fix blend shader upload

 .../drivers/panfrost/include/panfrost-job.h    |  6 ++++--
 .../drivers/panfrost/pan_blend_shaders.c       |  7 +------
 src/gallium/drivers/panfrost/pan_context.c     | 18 +++++++++++++-----
 src/gallium/drivers/panfrost/pan_screen.c      |  1 -
 src/gallium/drivers/panfrost/pan_util.h        |  1 -
 src/gallium/drivers/panfrost/pan_wallpaper.c   |  3 ---
 .../drivers/panfrost/pandecode/decode.c        | 15 ++++++++++++++-
 7 files changed, 32 insertions(+), 19 deletions(-)

-- 
2.20.1



More information about the mesa-dev mailing list