mesa: Rearrange legal_texobj_target to look more like _mesa_legal_get_tex_level_param...
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Aug 2016 08:55:49 +0000 (09:55 +0100)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 26 Aug 2016 22:03:15 +0000 (15:03 -0700)
commitd79c950eebc3614d44e688172ffeb59fb6cfd3fa
tree5076c7dc7ec6376c9a57978fd0b782f2c0dd6727
parentef5bad09c4623892a358046b7ece4dcb273ad700
mesa: Rearrange legal_texobj_target to look more like _mesa_legal_get_tex_level_parameter_target

This makes it a bit easier to add support for more features in different
APIs.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/texstorage.c