mesa/glformats: Remove redundant helper _mesa_base_format_component_count
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 23 Oct 2018 05:56:58 +0000 (07:56 +0200)
committerEduardo Lima Mitev <elima@igalia.com>
Tue, 23 Oct 2018 19:29:15 +0000 (21:29 +0200)
commit22ddd4988e177cc51923d10f088a17edcde9517d
tree29626fb0bb1fa5741d866a4745d07a398a87db2b
parentecb7775e1cac7f3119e5d1c31ce1572509c0f1bb
mesa/glformats: Remove redundant helper _mesa_base_format_component_count

There exists _mesa_components_in_format() which already includes
all cases handled in _mesa_base_format_component_count().

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/main/glformats.c
src/mesa/main/glformats.h
src/mesa/main/teximage.c