mesa: implement glTextureStorageNDEXT functions
authorPierre-Eric Pelloux Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 23 Sep 2019 09:06:07 +0000 (11:06 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 18 Oct 2019 08:26:26 +0000 (10:26 +0200)
commitaf60187153adce3bbd47c24abcfbaf1c403f1620
tree59920e7bed7d827507eac75229c7ada7aa7b8924
parent50533d408db1048a148012e2c3e1be5aca2ae93d
mesa: implement glTextureStorageNDEXT functions

Implement the 3 functions using the texturestorage_error() helper.
_mesa_lookup_or_create_texture is always called to make sure that 'texture'
is initialized (even if the texturestorage_error() generates an error afterwards).

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/texstorage.c