mesa: Require temp images in _mesa_texstore_*_dxt* with SkipImages
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 May 2022 09:36:34 +0000 (02:36 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 27 May 2022 01:47:33 +0000 (01:47 +0000)
commit035e6e32f1c368c57fd2ed872bf0fb37a4eb5d11
tree7a520a8ebba878acefe47d6336dd5fdc2eb14600
parent6910891c7f71d97379c43914adc6443ae9e99aef
mesa: Require temp images in _mesa_texstore_*_dxt* with SkipImages

The S3TC compressor code doesn't support this, but our lack of checking
was being papered over by the stride checks being overly picky.  This
is needed to prevent regressions in the next commit.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16631>
src/mesa/main/texcompress_s3tc.c