From: Keith W. <ke...@vm...> - 2010-03-12 15:23:15
|
On Fri, 2010-03-12 at 06:54 -0800, Luca Barbieri wrote: > What if you have a non-integer min LOD? > While the integer part may belong to the sampler view, the fractional > part really seems to be a sampler property. > Requiring min_lod < 1.0 also doesn't seem to make much sense, so > shouldn't it be kept as it is now? > Same thing for last_level / max_lod. Hmm, I see your point. Fractional values don't have a lot of meaning in the views, but without a fraction from somewhere we don't capture all of GL semantics. I guess this is the underlying reason GL has such a wide variety of ways of specifying the min/max level also. And finally, it seems like DX10 has done the same thing - with both integer min/max in views and float min/max in the sampler state. It looks like we really do want to keep them both. Keith |