[PATCH 1/5] wined3d: Use the resource access flags in wined3d_texture_set_lod().