[Mesa-dev] [PATCH 1/2] mesa/texformat: enable ASTC formats for TexStorage
chad.versace at intel.com
Mon Aug 17 11:54:53 PDT 2015
On Tue 28 Jul 2015, Nanley Chery wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
> According to the spec, Tex*Storage* commands are supported if the GL
> implementation has support for immutable textures.
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> src/mesa/main/texformat.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 56 insertions(+)
This patch's code looks correct to me, but I'm confused by the commit
message. The commit message specifically calls out the glTexStorage*
functions, but _mesa_choose_tex_format() is also used by many other
non-storage glTex* functions.
Why specifically mention the glTexStorage* function? Is there some
larger context I'm missing?
More information about the mesa-dev