i965: don't crash on incorrect texture use
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 28 Jun 2021 04:26:54 +0000 (14:26 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Jun 2021 01:38:05 +0000 (01:38 +0000)
commit02dd03ff3ce07362c1c1636d537f90ad96c87c49
tree64f753d34cad661c5d17c1427e00dfadbff1fd37
parent328ea8e04accfa4e156c37959714f5bc92cb0421
i965: don't crash on incorrect texture use

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4995

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11603>
src/mesa/drivers/dri/i965/brw_tex_validate.c