On Fri, 2010-03-12 at 06:08 -0800, michal wrote: > Keith Whitwell wrote on 2010-03-12 14:46: > > Michal, > > > > Is the intention to have >1 sampler view active in the Mesa state > > tracker, specifically in the cases where min_lod varies? > > > > In other words, you seem to have two ways of specifying the same state: > > > > pipe_sampler_view::first_level > > > > and > > > > pipe_sampler::min_lod > > > > Is there a case to keep both of these? Or is one enough? > > > > > It looks like one has to go away, and that would be > pipe_sampler::min_lod. And we want to have a per-texture cache of > sampler views in mesa.
OK, I'm fine with this if you're ok to go ahead and implement the caching. It's worth noting that drivers can discard any vram backing sampler views at any time (when they're not in use), so if we have a situation where large numbers of views are gobbling up vram, the driver has the option of running though all the views and discarding their cached contents. Keith ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev