summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.c
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2015-08-12 14:41:50 -0700
committerNanley Chery <[email protected]>2015-08-31 15:03:21 -0700
commit76f17266ec68c644b2609d355018329636ae8e75 (patch)
tree707c09b1b1b15ccdc323b7c5796d762935c85b1d /src/mesa/main/glformats.c
parent01024ded1e791b33353ffa09d4e3dfb5b638179d (diff)
mesa/texformat: use format conversion function in _mesa_choose_tex_formatvulkan-protex-2015.09.24.r01-base
This function's cases for non-generic compressed formats duplicate the GL to MESA translation in _mesa_glenum_to_compressed_format(). This patch replaces the switch cases with a call to the translation function. This change teaches this function about ASTC, thus enabling ASTC for glTex*Storage*() calls. Reviewed-by: Chad Versace <[email protected]> Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
0 files changed, 0 insertions, 0 deletions