st/nine: Set correctly blend max_rt
authorAxel Davy <davyaxel0@gmail.com>
Mon, 4 May 2020 20:40:08 +0000 (22:40 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 May 2020 16:45:06 +0000 (16:45 +0000)
commitaac964af4aa1a215196d6ae351a11c9b6b937a22
tree49cc6ba9e6d921e2bbbdaf10e09d9530a3f37e49
parent0d83e7f4b9887346e9b7b4d44c068d340aa04f28
st/nine: Set correctly blend max_rt

Currently nine_convert_blend_state has no way
of knowing the number of rts.
For now set to an upper bound.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4891>
src/gallium/state_trackers/nine/nine_pipe.c