[PATCH 1/5] wined3d: Introduce separate read and write resource map flags.