OSDN Git Service

nouveau: always enable at least one RC
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 27 Aug 2016 23:51:29 +0000 (19:51 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 10:39:46 +0000 (11:39 +0100)
commit178c34c5352e87aa4c1f4efc7e03f6086c8b2cf0
tree6de053f8a2fe210bce61831b0bbfc2c7864a1ce0
parent7c583adfb56fb24ebdc8524c50210e270c1fdcce
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
(cherry picked from commit 357d8261f1e9fd93105dd704c94828582dc02043)
src/mesa/drivers/dri/nouveau/nv20_state_frag.c