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