meta: Remove support for clearing integer buffers
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 15 Jun 2017 00:35:28 +0000 (17:35 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 15:35:43 +0000 (15:35 +0000)
commitb5a8d0319b8fe14bb9f970fdca1decf6dbc9e603
tree9389c65d1eaad5d8c02a33ed715748b991ac5e3a
parenta5d2c40fb9c841ab28cc9ab6eebaaac44afa6e4e
meta: Remove support for clearing integer buffers

Since i965 no longer uses this function for clearing color buffers,
there is no driver left that will ever support integer textures and use
_mesa_meta_glsl_Clear.

As a side note, the has_integer_textures check was rubbish anyway
because meta always smashes the API to API_OPENGL_COMPAT.

   text     data     bss      dec    hex  filename
12244406 1344936 1290748 14880090 e30d5a  before/lib64/dri/i965_dri.so
12243574 1344936 1290748 14879258 e30a1a  after/lib64/dri/i965_dri.so

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/856>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h