• Ivan Gyurdiev's avatar
    wined3d: Remove constant type field in stateblock. · 5f5969b3
    Ivan Gyurdiev authored
    It is wrong to maintain a mapping from a constant index to a type
    field, because different constant types do not share an index -
    boolean constant 0 is supposed to co-exist with floating point
    constant 0, not replace it. Drawprim and other code using the type
    array to decide whether to look up a constant in bools, floats, or
    ints is wrong - you can't make that decision based on the index.
    5f5969b3
wined3d_private.h 57.2 KB