[Mesa-dev] [PATCH 08/10] meta: Add support for glClear() to integer color buffers.
Kenneth Graunke
kenneth at whitecape.org
Tue Nov 8 19:46:13 PST 2011
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 <kenneth at whitecape.org>
More information about the mesa-dev
mailing list