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

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

2013-10-04 Thread Ilia Mirkin
NV30 is blessed with all manners of hardware restrictions. One of them is that the render target format's color and depth outputs need to be the same bit-ness, i.e. either both 16 or both 32 bits. (In addition to all color attachments needing to be the same, and everything needing to be the same si