Subject: [PATCH 1/6] wined3d: Move the min filter fixup from wined3d_sampler_desc_from_sampler_states() to wined3d_texture_gl_apply_sampler_desc().
That effectively removes it from the sampler objects path though. I suspect conditional NP2 and sampler objects are effectively mutually exclusive, but is that an intentional change? The commit message doesn't explicitly mention it, at least.
Subject: [PATCH 3/6] wined3d: Handle texture LOD in wined3d_sampler_desc_from_sampler_states().
It's probably fine, but note that this could potentially increase the number of unique sampler objects being created.
Subject: [PATCH 5/6] wined3d: Store the primary stateblock in the device.
Didn't we get rid of that not that long ago? It's probably not terrible, but it seems slightly nicer to me to call wined3d_stateblock_invalidate_texture_lod() (that's the main purpose of this, right?) from ddraw/d3d8/d3d9.