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