mesa/st: fix color outputs in presence of sample mask output
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 23 May 2014 15:18:16 +0000 (11:18 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 26 May 2014 18:00:11 +0000 (14:00 -0400)
commitab7bd7093dfd18778ece4ed9098666c9ebc68d51
tree3034473eb12626f24b34762187870db48d65cd09
parentaa78c4586d42856dcc86b143c2e72c05a1422016
mesa/st: fix color outputs in presence of sample mask output

Commit c5d822dad90 added support for sample mask incorrectly. It became
treated as a color output, and messed up the color output indices.
Revert the hunk that did that, and add explicit support just like for
depth/stencil writes.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c