Skip to content
Snippets Groups Projects
  • Subv's avatar
    ShaderGen: Implemented the fsetp instruction. · 0a5e01b7
    Subv authored
    Predicate variables are now added to the generated shader code in the form of 'pX' where X is the predicate id.
    These predicate variables are initialized to false on shader startup and are set via the fsetp instructions.
    
    TODO:
    
    * Not all the comparison types are implemented.
    * Only the single-predicate version is implemented.
    0a5e01b7