[Mesa-dev] [PATCH 3/3] st/mesa: round lod_bias to a multiple of 1/256

Marek Olšák maraeo at gmail.com
Fri Dec 2 21:55:55 UTC 2016


On Fri, Dec 2, 2016 at 10:18 PM, Roland Scheidegger <sroland at vmware.com> wrote:
> Ideally this wouldn't be tied to specific hardware... That said, I
> believe the clamping limits are sane (d3d10 will use these too). If GL
> has some requirements for lod accuracy or if it's queryable, it should
> probably honor this (d3d10 only would require 6 fractional bits),
> although I'd guess that 8 fractional bits is probably safe...

AMD DX10 GPUs have 6 fractional bits. DX11 and later GPUs have 8
fractional bits.

Marek


More information about the mesa-dev mailing list