mesa/src
Chad Versace c82f99e883 i965: Fix miptree layout for EGLImage-based renderbuffers
When glEGLImageTargetRenderbufferStorageOES() was given an EGLImage
created from the non-base slice of a miptree,
intel_image_target_renderbuffer_storage() forgot to apply the intra-tile
offsets __DRIimage::tile_x,tile_y to the miptree layout.

This patch fixes the problem with a quick hack suitable for
cherry-picking. A proper fix requires more thorough plumbing in
intel_miptree_create_layout() and brw_tex_layout().

Patch 1/2 that fixes test
'dEQP-EGL.functional.image.create.gles2_cubemap_*'.

Reported-by: Haixia Shi <hshi@chromium.org>
Diagnosed-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
Change-Id: I8a64b0048a1ee9e714ebb3f33fffd8334036450b
2016-08-25 16:52:00 -07:00
..
compiler nir/phi_builder: Don't recurse in value_get_block_def 2016-08-25 14:08:07 -07:00
egl egl: turn a couple asserts static (compile-time) 2016-08-24 11:30:15 +01:00
gallium radeonsi: don't use allocas for arrays with LLVM 3.8 2016-08-25 21:19:17 +02:00
gbm gbm: Correct bo_import documentation (trivial) 2016-08-03 10:56:41 -07:00
getopt
glx glx: Don't use current context in __glXSendError 2016-08-17 17:16:34 +09:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel intel: Flatten the makefile structure 2016-08-25 15:29:48 -07:00
loader loader/dri3: Overhaul dri3_update_num_back 2016-08-25 17:40:24 +09:00
mapi mesa: Rename "texturebarrier" source files to "barrier". 2016-08-24 13:28:30 -07:00
mesa i965: Fix miptree layout for EGLImage-based renderbuffers 2016-08-25 16:52:00 -07:00
util util: add assert that key cannot be NULL on insertion 2016-08-22 07:37:55 +03:00
Makefile.am aubinator: Add a new tool called Aubinator to the src/intel/tools folder. 2016-08-23 21:19:33 -07:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00