Re: [Mesa-dev] [PATCH] addrlib: don't use linear aligned when pow2Pad is selected.

2017-04-11 Thread Marek Olšák
On Apr 11, 2017 2:32 AM, "Dave Airlie" wrote: On 4 April 2017 at 19:11, Marek Olšák wrote: > Why don't you set disableLinearOpt instead? That seems like the wrong answer. Can the hardware do mipmaps with the base level in linear aligned format, but the other levels 1D tiled? If not why does ad

Re: [Mesa-dev] [PATCH] addrlib: don't use linear aligned when pow2Pad is selected.

2017-04-10 Thread Dave Airlie
On 4 April 2017 at 19:11, Marek Olšák wrote: > Why don't you set disableLinearOpt instead? That seems like the wrong answer. Can the hardware do mipmaps with the base level in linear aligned format, but the other levels 1D tiled? If not why does addrlib give me that as a result? I'm not sure th

Re: [Mesa-dev] [PATCH] addrlib: don't use linear aligned when pow2Pad is selected.

2017-04-04 Thread Marek Olšák
Why don't you set disableLinearOpt instead? Marek On Tue, Apr 4, 2017 at 4:17 AM, Dave Airlie wrote: > From: Dave Airlie > > The below commit caused a regression on radv with 1D textures, > this was because the base level for these small textures was > being degraded to a linear level due to th

[Mesa-dev] [PATCH] addrlib: don't use linear aligned when pow2Pad is selected.

2017-04-03 Thread Dave Airlie
From: Dave Airlie The below commit caused a regression on radv with 1D textures, this was because the base level for these small textures was being degraded to a linear level due to this code. This stops the degradation to linear when the pow2Pad bit it set (this is set when there are miplevels).