[Mesa-dev] [PATCH 0/4] A bunch of small GL_ARB_copy_image fixes

Jason Ekstrand jason at jlekstrand.net
Tue Sep 2 15:49:12 PDT 2014


This series contains 4 small fixes to the meta and i965 implementations of
GL_ARB_copy_image.  Most of the problems were with respect to blitting
between different mipmap levels of the two textures.  The original
implementation, as it turns out, only worked on mipmap level 0.  This fixes
it.

There is one small issue remaining that I'm still trying to debug.  When
working with mipmap level 0, everythings ok, but on other levels the
texture view seems to loose the over-written format.

Jason Ekstrand (4):
  i965/copy_image: Use the correct texture level
  meta/copy_image: Use the correct texture level when creating views
  i965/copy_image: Use the correct block dimension
  i965/copy_image: Divide the x offsets by block width when using the
    blitter

 src/mesa/drivers/common/meta_copy_image.c    |  2 +-
 src/mesa/drivers/dri/i965/intel_copy_image.c | 53 +++++++++++++++++-----------
 2 files changed, 34 insertions(+), 21 deletions(-)

-- 
2.1.0



More information about the mesa-dev mailing list