1. 21 Mar, 2019 1 commit
    • Add support for derivative instructions · aff2dd06
      Chris Forbes authored
      - OpDPdx
      - OpDPdy
      - OpFwidth
      - OpDPdxCoarse
      - OpDPdyCoarse
      - OpFwidthCoarse
      - OpDPdxFine
      - OpDPdyFine
      - OpFwidthFine
      
      We have flexibility in how we implement the OpDPdx, OpDPdy and OpFwidth
      instructions; they can return either coarse or fine derivatives.
      I have chosen to make them equivalent to the coarse derivatives since
      those are slightly cheaper to compute.
      
      Added a static assert to ensure we revisit these when considering other
      vector widths.
      
      Bug: b/129002115
      Test: dEQP-VK.glsl.derivate.*
      Change-Id: I75224c1e77c1eefac4f219be5662836daa86a098
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27689Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
      Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
  2. 20 Mar, 2019 5 commits
  3. 19 Mar, 2019 11 commits
  4. 18 Mar, 2019 8 commits
  5. 16 Mar, 2019 6 commits
  6. 15 Mar, 2019 9 commits