1. 13 Nov, 2015 1 commit
  2. 10 Nov, 2015 2 commits
  3. 06 Nov, 2015 1 commit
  4. 05 Nov, 2015 1 commit
  5. 03 Nov, 2015 2 commits
  6. 02 Nov, 2015 1 commit
  7. 30 Oct, 2015 6 commits
  8. 29 Oct, 2015 4 commits
  9. 28 Oct, 2015 1 commit
  10. 26 Oct, 2015 1 commit
  11. 23 Oct, 2015 1 commit
  12. 22 Oct, 2015 2 commits
  13. 21 Oct, 2015 9 commits
  14. 15 Oct, 2015 2 commits
  15. 08 Oct, 2015 2 commits
  16. 01 Oct, 2015 2 commits
  17. 30 Sep, 2015 2 commits
    • ETC2 decoder · 0de50d45
      Alexis Hetu authored
      A new ETC2 decoder was added to SwiftShader, based on the
      OpenGL ETC2 specification. The decoder is fully standalone
      and does not rely on any outside code (there are no files
      included in the header and the source file only include the
      header file, so it can easily be ported to any other project).
      
      Things to note:
      - In Surface.cpp, signed ETC2 images are decoded to full 32FP
        images, because of the lack of support for signed 8 bit R
        and RG internal formats. This should be fixed as soon as
        these formats are made available.
      - sRGB conversion is not performed within the decoder, so it has
        been added as a loop inside Surface::decodeETC2 after the ETC2
        decoding is performed. This is to make sure that there is no
        loss of precision, should we choose to do the conversion to a
        higher bit precision format. The loop is fairly straightforward
        and does the conversion in place, so the impact on performance
        compared to doing the sRGB conversion in the decoder should be
        minimal.
      
      Change-Id: I3a1af623353344bf35818ba9c9f4cf349b587e2f
      Reviewed-on: https://swiftshader-review.googlesource.com/3960Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    • Matrix determinant and inverse implementation · c3d95f36
      Alexis Hetu authored
      Implementation for determinant has been done directly in
      ShaderCore in order to avoid having to allocate temporaries
      manually in OutputASM.
      
      For now, the implementation for the inverse matrix is very
      simple, i.e., it doesn't attempt to re-use results from the
      cofactor matrix computation to compute the determinant or
      do any other kind of optimization, but it works.
      
      Change-Id: I0fc70133809ae2752dc567bf58b60d7af7a88009
      Reviewed-on: https://swiftshader-review.googlesource.com/4000Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>