diff options
author | Nanley Chery <[email protected]> | 2015-08-12 14:41:50 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2015-08-31 15:03:21 -0700 |
commit | 76f17266ec68c644b2609d355018329636ae8e75 (patch) | |
tree | 707c09b1b1b15ccdc323b7c5796d762935c85b1d /src/mesa/main/glformats.c | |
parent | 01024ded1e791b33353ffa09d4e3dfb5b638179d (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