nouveau: always enable at least one RC
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Aug 2016 23:51:29 +0000 (19:51 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 30 Aug 2016 04:21:42 +0000 (00:21 -0400)
commit357d8261f1e9fd93105dd704c94828582dc02043
tree9c4e8114d8531b50174b166a8fd5acdc90e1eb72
parent91681302d0308a70aece883c3b56a18f9a44041f
nouveau: always enable at least one RC

Experimentally, this is required for glxgears and others to display the
proper colors. This is also what the code used to do before the
referenced commit.

Fixes: c703658b396 (mesa: Drop _EnabledUnits.)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/nouveau/nv20_state_frag.c