[Mesa-dev] [PATCH 0/4] panfrost: Use shader_info more

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Wed Jul 24 00:05:56 UTC 2019


We already have all this information available to us, so let's use it
rather than duplicating code left and right. This is obviously a
maintainability win (and means there are less places for things to
wrong). But almost more important is simplifying the compiler backend
specific ABI, which will be a win when wiring in Bifrost support.

Alyssa Rosenzweig (4):
  panfrost: Use NIR helper invocations info
  panfrost: Use nir_gather_info information about discards
  panfrost: Don't DIY point size/coord fields
  panfrost: Compute I/O counts from shader_info

 src/gallium/drivers/panfrost/pan_assemble.c | 28 +++++++++++++--------
 src/gallium/drivers/panfrost/pan_context.c  |  2 +-
 src/gallium/drivers/panfrost/pan_context.h  |  3 +++
 src/panfrost/midgard/compiler.h             |  3 ---
 src/panfrost/midgard/midgard_compile.c      |  7 ------
 src/panfrost/midgard/midgard_compile.h      |  7 ------
 6 files changed, 22 insertions(+), 28 deletions(-)

-- 
2.20.1



More information about the mesa-dev mailing list