mesa: Add color renderable/texture filterable format info for ES 3.x.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Mar 2016 07:30:05 +0000 (00:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Mar 2016 01:43:23 +0000 (18:43 -0700)
commitf1b05735108c6733893dfbe762366f2676501c0d
treee917333dee818b57d90e4704213bd706099b7e5d
parent88d28aa4d9edec33ef7bcf1f56b77fbb756a24f8
mesa: Add color renderable/texture filterable format info for ES 3.x.

OpenGL ES 3.x contains a table of sized internal formats and their
required properties.  In particular, each format is marked as
"Color Renderable" or "Texture Filterable".

This patch introduces two functions that can be used to query the
information from that table.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/glformats.c
src/mesa/main/glformats.h