Henri Verbeet : wined3d: Use a bitmask to store which bool and int constants are set.