isl: don't warn in physical extent calculation for yuv formats
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 26 Nov 2019 14:22:55 +0000 (16:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 31 Mar 2020 15:59:21 +0000 (15:59 +0000)
commit88c046a6d3228cc3a667cba96e4fa57c341ab162
tree09e6d418e7118cf80419b6e73c6a4f9d1fe35a5f
parent015f08dd4301ee6f6c00d76c03a197d1522a1e51
isl: don't warn in physical extent calculation for yuv formats

Those format have correct descriptions already with the exception of
the planar format. In that case we introduce an assert.

This fine because we don't use the planar format in any of our
drivers. There are restrictions on how the addresses of the 2 planes
are relative to one another which make this annoying. The sampler is
also more limited than what we can do with a shader snippet.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2999>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2999>
src/intel/isl/isl.c
src/intel/isl/isl.h