[Mesa-dev] Q: Intel/i965: how to add a new texture format (GL_SRGB_R8)

Gert Wollny gert.wollny at collabora.com
Thu Oct 25 17:02:12 UTC 2018

Dear all, 

I'm currently working on getting EXT_texture_sRGB_R8 into mesa. I'm at
the point where it is working for r600, i.e.


all pass, so I assume that the mesa/core, Gallium, and r600 patches are
more or less correct. However, with the Intel driver I'm hitting a
wall. The dEQP test 

runs without error messages, the log with INTEL_DEBUG=tex indicates
that the GL_SR8_EXT interbal format is used, but the test fails - only
a black texture is drawn. 

The patch related to the changes I did to the driver is here: 


(There is some unrelated white space change, from a dri radeon driver,
sorry for that) and the whole series for implementing this (very much
WIP for various reasons) can be found here: 


Any pointer what might be missing would be great, 
thanks a lot, 

More information about the mesa-dev mailing list