Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Michael Karcher
Am Sonntag, den 10.06.2012, 13:20 +0200 schrieb Daniel Vetter: > On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > > This patch fixes a copy/paste error and masking of depth/stencil (stencil > > is in the top 8 bits), and makes glean/readPixSanity happy. > Woot, nice catch - iirc t

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Daniel Vetter
On Sun, Jun 10, 2012 at 01:20:36PM +0200, Daniel Vetter wrote: > On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > > This patch fixes a copy/paste error and masking of depth/stencil (stencil > > is in the top 8 bits), and makes glean/readPixSanity happy. > > > > Both the stencil a

Re: [Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-10 Thread Daniel Vetter
On Sun, Jun 10, 2012 at 01:49:30AM +0200, Michael Karcher wrote: > This patch fixes a copy/paste error and masking of depth/stencil (stencil > is in the top 8 bits), and makes glean/readPixSanity happy. > > Both the stencil and the depth buffer piglit test also pass if > glClear(DEPTH | STENCIL) i

[Mesa-dev] [PATCH] i915g: Fix depth/stencil glClear

2012-06-09 Thread Michael Karcher
This patch fixes a copy/paste error and masking of depth/stencil (stencil is in the top 8 bits), and makes glean/readPixSanity happy. Both the stencil and the depth buffer piglit test also pass if glClear(DEPTH | STENCIL) is executed instead of glClear(DEPTH)/glClear(STENCIL). --- src/gallium/dri