freedreno/a4xx: point regid to "red" even for alpha-only rb formats
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 Nov 2015 23:11:26 +0000 (18:11 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 Nov 2015 23:15:15 +0000 (18:15 -0500)
commitff9450ecd1f7635f8917e3177f0ef18eb8f9f49b
treef28db3350e0eccc69d764cc0a8226bc5b06f40bc
parent4fd24caf92fc995e4a730181e0f179a7f2218e60
freedreno/a4xx: point regid to "red" even for alpha-only rb formats

Looks like a4xx hw does this in a more standard way and we don't need to
hack around it like we do on a3xx. Fixes GL_ALPHA formats in
fbo-blending-formats, fbo-colormask-formats, and fbo-alphatest-formats.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/freedreno/a4xx/fd4_program.c