mesa/st: Set _NumSamples in update_framebuffer_state()
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Tue, 16 Feb 2016 23:27:41 +0000 (10:27 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Apr 2016 02:02:06 +0000 (12:02 +1000)
commitb512b5fd3664781d1f9ada1c784353b85bbe0e5b
treedda9e1bfc52e72ded0070ee68386908e894b5a8b
parent2016e9ffda26aac6a65c363f38afc047b72d3e83
mesa/st: Set _NumSamples in update_framebuffer_state()

Using PIPE_FORMAT_NONE to indicate what MSAA modes are supported
with a framebuffer using no attachment.

V.2:
 Rewrite MSAA mode loop to be more general.
V.3:
 Move comment to right place after loop was rewritten.
V.4: [airlied]
 remove unneeded variable, and assert, and unneeded pipe assignment

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_atom_framebuffer.c