I hope you like these patches. They were made with sweat and blood at the 11th hour.
This adds all the infrastructure needed to support s8z24 texture renderbuffers. The patch series lives on my hiz branch. On gen5 there are no Piglit regressions, with and without separate stencil enabled. Undoubtedly there are hidden bugs lurking in these patches, but those can be ironed out over time as more tests are written. Chad Versace (10): intel: Add fields to intel_texture for faking s8z24 with separate stencil intel: Define functions intel_texture_s8z24_scatter/gather intel: Perform gather on s8z24 texture images during glGetTexImage intel: Change signature of intel_create_wrapped_renderbuffer intel: Declare some functions in intel_fbo.c as non-static intel: During glTexImage, allocate renderbuffers for faking s8z24 textures intel: Factor region updates out of intel_update_wrapper intel: In intel_update_wrapper, support s8z24 textures when using separate stencil intel: Change framebuffer validation criteria intel: Fix workaround for _mesa_update_framebuffer src/mesa/drivers/dri/intel/intel_buffers.c | 8 +- src/mesa/drivers/dri/intel/intel_fbo.c | 102 +++++++++++------- src/mesa/drivers/dri/intel/intel_fbo.h | 16 +++ src/mesa/drivers/dri/intel/intel_tex.c | 9 ++ src/mesa/drivers/dri/intel/intel_tex_image.c | 153 ++++++++++++++++++++++++-- src/mesa/drivers/dri/intel/intel_tex_obj.h | 30 +++++ 6 files changed, 265 insertions(+), 53 deletions(-) -- 1.7.5.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev