On 11/04/2011 03:01 PM, Eric Anholt wrote:
> 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.

Hm.  The extra VS is rather unfortunate (it's exactly the same other
than the #version), but I suppose necessary.

One comment...

You don't appear to have any code to associate "out_color" with a
location; I suppose it's implicitly 0 since it's the only output.  Is it
worth setting this explicitly?

I'll accept "No, it's fine" as an answer. :)

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to