Re: [Mesa-dev] [PATCH 08/10] meta: Add support for glClear() to integer color buffers.

2011-11-09 Thread Eric Anholt
On Tue, 08 Nov 2011 19:46:13 -0800, Kenneth Graunke wrote: > 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 un

Re: [Mesa-dev] [PATCH 08/10] meta: Add support for glClear() to integer color buffers.

2011-11-08 Thread Kenneth Graunke
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

[Mesa-dev] [PATCH 08/10] meta: Add support for glClear() to integer color buffers.

2011-11-04 Thread Eric Anholt
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. --- src/mesa/drivers/common/meta.c | 108 ++-- 1 files changed, 104 insertions(+), 4 deletions(-) diff --git a/src