Henri Verbeet : wined3d: Use lookup tables in select_card_ati_mesa().