[PATCH 2/3] wined3d: Use dynamic state for primitive type if possible.