[PATCH v2 1/6] d3d9: Take usage flags into account when assigning map flags.