1. 24 Apr, 2018 1 commit
  2. 19 Apr, 2018 1 commit
  3. 18 Apr, 2018 1 commit
  4. 17 Apr, 2018 1 commit
  5. 16 Apr, 2018 1 commit
  6. 13 Apr, 2018 1 commit
  7. 12 Apr, 2018 1 commit
  8. 10 Apr, 2018 7 commits
  9. 09 Apr, 2018 3 commits
  10. 06 Apr, 2018 2 commits
  11. 04 Apr, 2018 1 commit
  12. 29 Mar, 2018 1 commit
  13. 27 Mar, 2018 2 commits
  14. 26 Mar, 2018 8 commits
  15. 21 Mar, 2018 1 commit
  16. 20 Mar, 2018 5 commits
  17. 16 Mar, 2018 1 commit
  18. 15 Mar, 2018 1 commit
    • Fix glTexSubImage support of half-float extension formats. · 6b5038e7
      Nicolas Capens authored
      GL_HALF_FLOAT_OES and GL_HALF_FLOAT have different enum values, and we
      weren't handling the case where a half-float texture was already
      created (e.g. with an effective internal format of GL_RGBA16F) and then
      updated with a glTexSubImage call using GL_HALF_FLOAT_OES type. In
      other words, we assumed the OpenGL ES 3.0 sized internal format could
      only be used with the OpenGL ES 3.0 half-float type, but this hasn't
      been true since we started storing only the effective internal format
      for all versions.
      
      Note that GL_OES_texture_half_float, which defines GL_HALF_FLOAT_OES,
      does not clarify whether HALF_FLOAT images can be updated using FLOAT,
      or vice-versa. We're assuming the equivalent combinations of OpenGL ES
      3.0 table 3.3 are valid. That is, FLOAT can be used to update,
      HALF_FLOAT, but not the other way around.
      
      Bug b/74609191
      
      Change-Id: Ib8548cd37065820eb59a0943fd39647edc5e9f1b
      Reviewed-on: https://swiftshader-review.googlesource.com/17748Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
  19. 14 Mar, 2018 1 commit