[Mesa-dev] [PATCH 0/4] i965: Add support for EXT_texture_sRGB_S8

Gert Wollny gert.wollny at collabora.com
Thu Nov 15 18:01:20 UTC 2018


Dear all, 

this series adds support for the GL_SR8_EXT texture format. When you review 
please take a closer look at the second patch, to see whether the fbo 
completeness states make sense. Always returning GL_FRAMEBUFFER_UNSUPPORTED 
makes dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.sr8_ext
fail because it expects GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT (which makes 
sense), but I thought when I touch this code, I could as well go through
the hole list.

Thanks for any reviews, 
Gert 

Gert Wollny (4):
  i965: Correct L8_UNORM_SRGB table entry
  i965: be more specific about FBO completeness errors
  i965: Force zero swizzles for unused components in GL_RED and GL_RG
  i965: Add support for and expose EXT_texture_sRGB_R8

 src/intel/isl/isl_format_layout.csv           |  2 +-
 .../drivers/dri/i965/brw_surface_formats.c    |  1 +
 .../drivers/dri/i965/brw_wm_surface_state.c   |  4 ++
 src/mesa/drivers/dri/i965/intel_extensions.c  |  1 +
 src/mesa/drivers/dri/i965/intel_fbo.c         | 42 ++++++++++---------
 5 files changed, 30 insertions(+), 20 deletions(-)

-- 
2.19.1



More information about the mesa-dev mailing list