Henri Verbeet : wined3d: Use the element size to create "isStateDirty" bitmap indices.