meta: Add support for glClear() to integer color buffers.
authorEric Anholt <eric@anholt.net>
Wed, 2 Nov 2011 21:01:25 +0000 (14:01 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 9 Nov 2011 20:59:20 +0000 (12:59 -0800)
commit84277cb7d325cdeade8ce75eb4154adb744626dc
tree36008e1e4d53e819be04bce713213ef5a58e9e2d
parent42c5552b0eef9c06898d29bb3f5c985f31316250
meta: Add support for glClear() to integer color buffers.

This requires using a new fragment shader to get the integer color
output, and a new vertex shader because #version has to match between
the two.

v2: Clarify that there's no need for BindFragDataLocation.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/common/meta.c