Re: [Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Chad Versace
On Sun, 05 Jun 2011 10:10:39 -0700, Eric Anholt wrote: > On Sat, 4 Jun 2011 17:06:31 -0700, Chad Versace wrote: > > Before this commit, if a client were to request a stencil or hiz buffer, > > then > > I830DRI2CreateBuffer() allocated and returned an X-tiled buffer by > > accident. (DRI2BufferS

Re: [Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Eric Anholt
On Sat, 4 Jun 2011 17:06:31 -0700, Chad Versace wrote: > Before this commit, if a client were to request a stencil or hiz buffer, then > I830DRI2CreateBuffer() allocated and returned an X-tiled buffer by > accident. (DRI2BufferStencil and DRI2BufferHiz were unintentionally caught > by the default

Re: [Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Chris Wilson
On Sat, 4 Jun 2011 17:06:31 -0700, Chad Versace wrote: > Before this commit, if a client were to request a stencil or hiz buffer, then > I830DRI2CreateBuffer() allocated and returned an X-tiled buffer by > accident. (DRI2BufferStencil and DRI2BufferHiz were unintentionally caught > by the default

Re: [Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-05 Thread Kenneth Graunke
On 06/04/2011 05:06 PM, Chad Versace wrote: Before this commit, if a client were to request a stencil or hiz buffer, then I830DRI2CreateBuffer() allocated and returned an X-tiled buffer by accident. (DRI2BufferStencil and DRI2BufferHiz were unintentionally caught by the default case of a switch s

[Intel-gfx] [PATCH 2/2] dri: Add support for DRI2BufferStencil and DRI2BufferHiz

2011-06-04 Thread Chad Versace
Before this commit, if a client were to request a stencil or hiz buffer, then I830DRI2CreateBuffer() allocated and returned an X-tiled buffer by accident. (DRI2BufferStencil and DRI2BufferHiz were unintentionally caught by the default case of a switch statement.) Now, I830DRI2CreateBuffer() correc