[PATCH v2 1/3] wined3d: Make video memory accounting a per-resource flag.