Skip to content
Snippets Groups Projects
  • LoopDawg's avatar
    HLSL: add optional position.Y inversion · b22c069f
    LoopDawg authored
    Adds command line options:
    
       --invert-y
       --iy
    
    (synonyms) which invert position.Y on vertex shader output.  Handles these cases:
    
    * Direct single variable return
    * Member of direct returned struct
    * Single variable output parameter
    * Member of struct output parameter
    
    API:
    
        // Enables position.Y output negation in vertex shader
        void TShader::setInvertY(bool invert);
    
    Fixes #1173
    b22c069f