i915: Add support for gl_FragData[0] for output color.
authorEric Anholt <eric@anholt.net>
Tue, 12 Jul 2011 22:31:39 +0000 (15:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2011 23:01:21 +0000 (16:01 -0700)
commit556a47a2621073185be83a0a721a8ba93392bedb
treeab9daadd309d7d71d6ebb51a6e1353b488acb5c4
parented570cb5e52021cfeb36266189367c85befcc761
i915: Add support for gl_FragData[0] for output color.

We advertised ARB_draw_buffers, but either fell back to software when
using this output, or assertion failed.  Fixes glsl-fs-fragdata-1, and
failures in some webgl conformance tests.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=39024
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34906
src/mesa/drivers/dri/i915/i915_fragprog.c