• Stefan Dösinger's avatar
    wined3d: Floating point shader constant setting. · dd93e1fb
    Stefan Dösinger authored
    Test how shader constant limits are checked in Set*ShaderConstantF.
    The vertex shader tests it based on the limits reported in the caps,
    the pixel shader tests tries to find the limit manually because I
    could not find a cap structure member specifying the pixel shader
    constant limit.
    
    Set*ShaderConstantF returns an error as soon as start or start + count
    are bigger than the constant limit.
    dd93e1fb
shader.c 10.2 KB