On Wed, May 2, 2018 at 9:13 AM, Eleni Maria Stea <es...@igalia.com> wrote: > Gen 7 GPUs store the compressed EAC/ETC2 images in other non-compressed > formats that can render. When GetCompressed* functions are called, the > pixels are returned in the non-compressed format that is used for the > rendering. > > With this patch we store both the compressed and non-compressed versions > of the image, so that both rendering commands and GetCompressed* > commands work. > > Also, the assertions for GL_MAP_WRITE_BIT and GL_MAP_INVALIDATE_RANGE_BIT > in intel_miptree_map_etc function have been removed because when the > miptree is mapped for reading (for example from a GetCompress* > function) the GL_MAP_WRITE_BIT won't be set (and shouldn't be set). > > Fixes: the following test in CTS for gen7: > KHR-GL45.direct_state_access.textures_compressed_subimage test > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104272
I think you can add Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81843 as well :) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev