• Christian Costa's avatar
    Enabled pixel shaders 1.4. · 1cda8c77
    Christian Costa authored
    Fixed handling of macros at the end of vertex shaders.
    Handled NOP and PHASE instructions.
    Fixed versions of several instructions.
    Improved pixel shader dump traces.
    Fixed write mask.
    Fixed X2 and -X2 source modifiers and implements DZ and DW ones.
    Implemented texcrd, texld, texm3x3pad, texm3x3tex, texm3x3spec and
    texm3x3vspec instructions (and partially texbem).
    Added cnd, cmp and lrp instructions.
    Rewrite of the "autoparam" code so we can add more complicated
    instructions (only cnd and cmp as well as simple instructions use that
    code at the moment).
    1cda8c77
shader.c 84.4 KB