1. 18 Nov, 2016 2 commits
    • Fix GLSL float parsing corner cases · 99bd5f40
      Olli Etuaho authored
      This fixes parsing floats that are out-of-range, and floats that have
      more digits than the standard library float parsing functions can
      handle. In these cases, we now fall back to a custom implementation of
      float parsing. The custom parsing path can correctly process floats
      with up to hundreds of millions of digits in their mantissa part.
      
      Rounding behavior of the custom float parser may not be entirely
      consistent with the standard parser, but the error should be at most
      a few ULP. This can be considered acceptable since floating point
      operations are not expected to be exact in GLSL in general. Settling
      for lower accuracy also enables the parser to run in constant memory,
      instead of having to store all the significant digits of the decimal
      mantissa being parsed.
      
      BUG=angleproject:1613
      TEST=angle_unittests
      
      Change-Id: I04a5d9ae5aaca48ef14b79cca5b997078614eb1c
      Reviewed-on: https://chromium-review.googlesource.com/412082
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • TextureGL: track the currently applied state. · 3377f51e
      Corentin Wallez authored
      Use it to implement lazy state setting methods for texture filters and
      swizzle that will be used in subsequent workarounds.
      
      BUG=angleproject:1356
      
      Change-Id: Ia58267c4f125262cf57fbd98438a6d8eb8a04b33
      Reviewed-on: https://chromium-review.googlesource.com/412404Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
      Commit-Queue: Corentin Wallez <cwallez@chromium.org>
  2. 17 Nov, 2016 5 commits
  3. 16 Nov, 2016 3 commits
  4. 15 Nov, 2016 6 commits
  5. 14 Nov, 2016 4 commits
  6. 11 Nov, 2016 10 commits
  7. 10 Nov, 2016 3 commits
  8. 09 Nov, 2016 1 commit
  9. 08 Nov, 2016 6 commits