[Bug 55262] Potential performance improvement in wined3d