mesa: Give _mesa_format_get_color_encoding a clearer name.
authorEric Anholt <eric@anholt.net>
Mon, 1 Jul 2019 22:43:19 +0000 (15:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 19:51:13 +0000 (12:51 -0700)
commit4d23157a8bf5da2f20ad477029fcf59d9df8557e
tree443ac4dfe62817446c49f5fb2b27c896246593f7
parent35e2d31ba4218cd55085c97764741eaf2fa3a332
mesa: Give _mesa_format_get_color_encoding a clearer name.

It only returned one of two values.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
14 files changed:
src/mesa/drivers/common/meta_blit.c
src/mesa/drivers/common/meta_generate_mipmap.c
src/mesa/drivers/dri/common/utils.c
src/mesa/drivers/dri/i965/intel_fbo.c
src/mesa/main/fbobject.c
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/framebuffer.c
src/mesa/main/glformats.c
src/mesa/main/texcompress_astc.cpp
src/mesa/main/teximage.c
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_format.c