When trying to address Anuj Phogat's comment on Patch 40/41 of my direct state
access textures patch series, I realized that the concept of cube completeness
only checks the base level of a cube map for consistency among formats and
sizes.  This series checks an arbitrary level of a cube map for consistency.

This series replaces Patches 40 and 41 of the previous series.

Laura Ekstrand (3):
  main: Added _mesa_cube_level_complete to check for the completeness of
    an arbitrary cube map level.
  main: Checking for cube completeness in GetTextureImage.
  main: Checking for cube completeness in TextureSubImage.

 src/mesa/main/texgetimage.c | 41 +++++++++++++++++++++++++++++------------
 src/mesa/main/teximage.c    | 42 +++++++++++++++++++++++++++++-------------
 src/mesa/main/texobj.c      | 23 ++++++++++++++---------
 src/mesa/main/texobj.h      |  4 ++++
 4 files changed, 76 insertions(+), 34 deletions(-)

-- 
2.1.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to