[Mesa-dev] [PATCH 1/2] mesa/teximage: Add GL error parameter to _mesa_target_can_be_compressed

Chad Versace chad.versace at intel.com
Tue Aug 25 15:07:15 PDT 2015


On Tue 25 Aug 2015, Nanley Chery wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
> 
> Enables _mesa_target_can_be_compressed to return the appropriate GL error
> depending on it's inputs. Use the parameter to return the appropriate GL error
> for ETC2 formats on GLES3.
> 
> Suggested-by: Chad Versace <chad.versace at intel.com>
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/mesa/main/teximage.c   | 90 +++++++++++++++++++++++++++++++---------------
>  src/mesa/main/teximage.h   |  2 +-
>  src/mesa/main/texstorage.c | 20 ++++-------
>  3 files changed, 68 insertions(+), 44 deletions(-)

LGTM. This patch is
Reviewed-by: Chad Versace <chad.versace at intel.com>



More information about the mesa-dev mailing list