nv50, nvc0: enable at least one color RT if alphatest is enabled
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 10 Jul 2015 20:42:18 +0000 (16:42 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 11 Jul 2015 02:15:56 +0000 (22:15 -0400)
commit1bfa25e88d21f95b9e176232bb091af77c294578
treedf8cd3bd2a0f792bb57ce1fd0e5e8ec1b7c8b446
parent4fe15717ce2fc0b1c239d3d7bf9a7bb04fb50dd5
nv50, nvc0: enable at least one color RT if alphatest is enabled

Fixes the following piglits:
  fbo-alphatest-nocolor
  fbo-alphatest-nocolor-ff

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c