Re: [Mesa-dev] [PATCH 0/8] gallium: create a generic way to validate fb params

2013-10-06 Thread Marek Olšák
On Fri, Oct 4, 2013 at 6:39 PM, Ilia Mirkin wrote: > On Fri, Oct 4, 2013 at 10:02 AM, Marek Olšák wrote: >> Wouldn't it be more flexible for you to just change the depth buffer >> format internally by reallocating the depth buffer in the driver >> whenever it's incompatible with the colorbuffer?

Re: [Mesa-dev] [PATCH 0/8] gallium: create a generic way to validate fb params

2013-10-04 Thread Ilia Mirkin
On Fri, Oct 4, 2013 at 10:02 AM, Marek Olšák wrote: > Wouldn't it be more flexible for you to just change the depth buffer > format internally by reallocating the depth buffer in the driver > whenever it's incompatible with the colorbuffer? I think you should be > able to do that easily without ch

Re: [Mesa-dev] [PATCH 0/8] gallium: create a generic way to validate fb params

2013-10-04 Thread Marek Olšák
Wouldn't it be more flexible for you to just change the depth buffer format internally by reallocating the depth buffer in the driver whenever it's incompatible with the colorbuffer? I think you should be able to do that easily without changing the pipe_resource structure. If a depth buffer cannot