Hi all,

there are a bunch of dEQP tests for the GL_UNSIGNED_INT_2_10_10_10_REV
"format" in ES. This format doesn't exist as a proper internal format,
but ES expects it to be derived for a texture when using internal format
GL_RGB or GL_RGBA and type GL_UNSIGNED_INT_2_10_10_10_REV for the
texture upload.

This series will select the proper Mesa texture format in the RGB case
(the RGBA case is already covered), ensures that those formats are properly
consider not color renderable, and then extends Gallium to understand
the RGB-only case properly as well.

I don't think it overlaps Mario's series for 10-bit window system
surfaces, but perhaps having the full orthogonal set of pipe formats
helps there as well.

Please review!
Thanks,
Nicolai
--
 src/gallium/auxiliary/util/u_format.csv     |  1 +
 src/gallium/auxiliary/util/u_format_tests.c |  6 ++++++
 src/gallium/include/pipe/p_format.h         |  2 ++
 src/mesa/main/fbobject.c                    |  7 +++++--
 src/mesa/main/formats.c                     |  4 +++-
 src/mesa/state_tracker/st_format.c          | 11 ++++++++---
 6 files changed, 25 insertions(+), 6 deletions(-)

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to