mesa: add compressed_tex_sub_image() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 10 May 2017 07:07:32 +0000 (17:07 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 May 2017 00:12:03 +0000 (10:12 +1000)
commitcb5627cbac2c68b0faccdedaeb462fbd507ddc7e
treea59ce2e6622f384ba62857b8a3b6198fd3f0f175
parentf1e692b452ce495e1326013b9ea61461ae46dbc4
mesa: add compressed_tex_sub_image() helper

This reduces duplication between the dsa and non-dsa function
and will also be used in the following commit to add
KHR_no_error support.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/teximage.c