1. 21 Apr, 2018 2 commits
    • Subv's avatar
      ShaderGen: Implemented predicated instruction execution. · c3a8ea76
      Subv authored
      Each predicated instruction will be wrapped in an `if (predicate) { instruction_body; }` in the GLSL, where `predicate` is one of the predicate boolean variables previously set by fsetp.
      c3a8ea76
    • 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
  2. 20 Apr, 2018 34 commits
  3. 19 Apr, 2018 4 commits