mesa: treat Color._AdvancedBlendMode as enum
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 24 Jun 2020 13:47:01 +0000 (15:47 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Jul 2020 06:19:16 +0000 (06:19 +0000)
commit30f4ccff5bd7304a623d2909aaf8de35727ce03d
tree20979cb8bbe257f4d6de4c841f0b7cf161587e09
parent6ffa0e925495bf8104a2d7e6984b50b5c3584c67
mesa: treat Color._AdvancedBlendMode as enum

Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5516>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c
src/mesa/main/draw_validate.c
src/mesa/state_tracker/st_atom_blend.c