mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 24 Mar 2016 14:30:09 +0000 (08:30 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Mar 2016 14:36:43 +0000 (08:36 -0600)
commitf96309753b7f5f4ea5e1942778087b3ace8eda9b
tree468944dfe7dac7c04c956660c941bea2f2be26c3
parent0bea0e7141a7698118bfd465fdb4adf8e0b21bc8
mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled.

This removes any dependency on driver validation of the number of
framebuffer samples.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Brian Paul <brianp@vmware.com>
14 files changed:
src/mesa/drivers/dri/i965/brw_util.h
src/mesa/drivers/dri/i965/gen6_cc.c
src/mesa/drivers/dri/i965/gen6_multisample_state.c
src/mesa/drivers/dri/i965/gen8_blend_state.c
src/mesa/drivers/dri/i965/gen8_depth_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c
src/mesa/main/framebuffer.c
src/mesa/main/framebuffer.h
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/program/prog_statevars.c
src/mesa/state_tracker/st_atom_rasterizer.c
src/mesa/state_tracker/st_atom_shader.c
src/mesa/swrast/s_points.c