Re: [Nouveau] Questions on Blocklinear Mipmaps and auto-sizing

2018-10-25 Thread Ilia Mirkin
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c#n190 On Thu, Oct 25, 2018 at 6:30 AM Fernando Sahmkow wrote: > > I'm currently implementing mipmaps but I have a set of troubles guessing the > block height and block depth of them. According to >

[Nouveau] Questions on Blocklinear Mipmaps and auto-sizing

2018-10-25 Thread Fernando Sahmkow
I'm currently implementing mipmaps but I have a set of troubles guessing the block height and block depth of them. According to https://envytools.readthedocs.io/en/latest/hw/memory/g80-surface.html#textures-mipmapping-and-arrays the texture unit auto resizes mipmaps' blocks but how do I know how