Re: [Mesa-dev] [PATCH 1/8] i965: Removed assertions from intel_miptree_map_etc

2019-01-18 Thread Nanley Chery
On Mon, Nov 19, 2018 at 10:54:05AM +0200, Eleni Maria Stea wrote: > The assertions that the GL_MAP_WRITE_BIT and GL_MAP_INVALIDATE_RANGE_BIT > in intel_miptree_map_etc should be removed since they will fail when the ^ missing "bits are set"? > ETC miptree is mapped for reading. > The asserti

[Mesa-dev] [PATCH 1/8] i965: Removed assertions from intel_miptree_map_etc

2018-11-19 Thread Eleni Maria Stea
The assertions that the GL_MAP_WRITE_BIT and GL_MAP_INVALIDATE_RANGE_BIT in intel_miptree_map_etc should be removed since they will fail when the ETC miptree is mapped for reading. Fixes: KHR-GL45.direct_state_access.textures_compressed_subimage crash on Gen 7 GPUs. --- src/mesa/drivers/dri/i965/