i965: verify format width in blorp_get_client_bo
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Thu, 30 Jul 2020 12:56:44 +0000 (14:56 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Sep 2020 15:08:01 +0000 (15:08 +0000)
commit0789f4b6d857d3188412d33f47bf3aa1873e2187
tree1912d96929e25840d4850e8e31675338ba08969a
parent5e676ac67171b93b0bd6be5d5b801087f305b2d5
i965: verify format width in blorp_get_client_bo

Coverity complains about possible "Division or modulo by zero".

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6126>
src/mesa/drivers/dri/i965/brw_blorp.c