i965: allow gl_FragData[0] usage when there's only one color buffer
authorBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:45:49 +0000 (18:45 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:45:49 +0000 (18:45 -0700)
commitf68f94c2bc950405d4c91a1e5582a35ff4b15bdf
tree66e6727a769eb45d447ac1d96db8922a1b700d37
parentbc7d2c4f51c56787b261e6ab6f9a77d39c3493e1
i965: allow gl_FragData[0] usage when there's only one color buffer

If gl_FragData[0] is written but not gl_FragCOlor, use the former.
src/mesa/drivers/dri/i965/brw_wm_fp.c