mesa: add _mesa_(get)texenvi(f)v_indexed helpers
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 1 Aug 2019 10:05:52 +0000 (12:05 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 6 Aug 2019 21:03:08 +0000 (17:03 -0400)
commit04b8e50bb89ed167fcaea0ac87c00ee0a09d9412
tree708332e297dc0d7dfc24af077844bac454f2de16
parent0e595326c4d728f17abc7c72f9a263965ff65da9
mesa: add _mesa_(get)texenvi(f)v_indexed helpers

They are exactly like _mesa_GetTexEnvfv/_mesa_GetTexEnviv except they take
a GLuint texunit parameter instead of relying of ctx->Texture.CurrentUnit.

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