[Mesa-dev] [PATCH v2 0/6] texture layout improvements

Ilia Mirkin imirkin at alum.mit.edu
Fri Nov 18 04:56:05 UTC 2016


Some of these are new, others have had some changes done to them. Most notably,
I've fixed the 1D layout in both the TilingFunctions logic as well as the
frontend.

An update piglit run is available at

https://people.freedesktop.org/~imirkin/swr/problems.html

which includes all but the last 2 patches of my tree available at

https://github.com/imirkin/mesa/commits/swr

The "swr-6" that is the old version was the output of the last time I sent this
texture layout series. Some of the fixes come from improvements in these patches
while others are from unrelated patches that made it into the repo in the
meanwhile.

Ilia Mirkin (6):
  swr: [rasterizer memory] minify original sizes for block formats
  swr: [rasterizer memory] minify texture width before alignment
  swr: rework resource layout and surface setup
  swr: remove unnecessary -1 entries in format mapping table
  swr: remove formats from mapping table that don't have StoreTile impls
  swr: avoid using exceptions for expected condition handling

 .../swr/rasterizer/memory/TilingFunctions.h        |  40 +-
 src/gallium/drivers/swr/swr_context.cpp            | 103 +++--
 src/gallium/drivers/swr/swr_draw.cpp               |   4 +-
 src/gallium/drivers/swr/swr_resource.h             |   8 +-
 src/gallium/drivers/swr/swr_screen.cpp             | 420 ++++++++++-----------
 src/gallium/drivers/swr/swr_shader.cpp             |  28 +-
 src/gallium/drivers/swr/swr_state.cpp              | 166 +++++---
 7 files changed, 429 insertions(+), 340 deletions(-)

-- 
2.7.3



More information about the mesa-dev mailing list