• Henri Verbeet's avatar
    wined3d: Use a separate structure for vertex shader attributes. · 19cb4594
    Henri Verbeet authored
    In D3D10 shaders input/output semantics are strings rather than predefined
    types. Unfortunately, the code in vshader_get_input() can be performance
    critical, depending on application behaviour. Since vshader_get_input() is
    only relevant for d3d9 shaders anyway, just store the usage and usage_idx for
    these shaders.
    19cb4594
baseshader.c 45 KB