[Mesa-dev] [PATCH 0/7] intel/blorp: Be able to blit to ANYTHING!!!

Jason Ekstrand jason at jlekstrand.net
Tue Jan 24 23:45:47 UTC 2017


This somewhat tongue-in-cheek series adds support to BLORP for blitting to
a lot more different destination formats.  We now even support the crazy
R9G9B9E5_SHAREDEXP format by emitting shader code to do the conversion.
The result of this is that we can now use blorp for almost all blit
operations in gl and *all* Vulkan formats we support in any way shape or
form we now support for VkBlitImage.  Why?  Because we can!

Jason Ekstrand (7):
  blorp: Handle the RGB workaround more like other workarounds
  intel/blorp: Handle more exotic destination formats
  intel/isl: Add some helpers for working with RGBX formats
  intel/blorp: Silently convert RGBX destination formats to RGBA
  intel/blorp: Support the RGB workaround on more formats
  anv: Allow blitting to/from any supported format
  i965/blorp: Remove a pile of blorp_blit restrictions

 src/intel/blorp/blorp_blit.c          | 229 ++++++++++++++++++++++++++--------
 src/intel/blorp/blorp_priv.h          |   6 +
 src/intel/isl/isl.h                   |  11 ++
 src/intel/isl/isl_format.c            |  32 +++++
 src/intel/vulkan/anv_formats.c        |  10 +-
 src/mesa/drivers/dri/i965/brw_blorp.c |  64 +++++-----
 6 files changed, 265 insertions(+), 87 deletions(-)

-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list