1. 08 Sep, 2016 2 commits
    • Fix incorrect compressed internal format enum. · d13ca30d
      Geoff Lang authored
      This error was not exposed since compressed formats use different validation
      paths.  Fixed for completeness.
      
      BUG=angleproject:1511
      
      Change-Id: I9b44a795b1e43f52555440f776e00bb4b92354ef
      Reviewed-on: https://chromium-review.googlesource.com/382653
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    • Clean up unary and aggregate math folding · f119a263
      Olli Etuaho authored
      Prefer asserts instead of adding internal errors to the compiler log
      when types of arguments are not as expected or the folding function
      runs into an operation it can't handle. Neither of these cases should
      be possible, the checks for correct argument types are solid at this
      point.
      
      In the future, when new built-in functions are added, constant folding
      support for them should be added as well.
      
      foldUnaryWithDifferentReturnType and foldUnaryWithSameReturnType are
      renamed to foldUnaryNonComponentWise and foldUnaryComponentWise
      respectively. These names better reflect what these functions are
      doing.
      
      The info sink member is removed from TIntermediate, since TDiagnostics
      is now passed into the functions that may generate warnings instead.
      
      BUG=angleproject:1490
      TEST=angle_unittests
      
      Change-Id: I6a08abbe29cf23f3a318032fdc46dd3dbaf4410e
      Reviewed-on: https://chromium-review.googlesource.com/377959
      Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
  2. 07 Sep, 2016 3 commits
  3. 06 Sep, 2016 11 commits
  4. 05 Sep, 2016 1 commit
  5. 02 Sep, 2016 3 commits
  6. 01 Sep, 2016 5 commits
  7. 31 Aug, 2016 3 commits
  8. 30 Aug, 2016 3 commits
  9. 29 Aug, 2016 5 commits
  10. 27 Aug, 2016 1 commit
    • Add a workaround for Intel drivers on glsl function texelfetchoffset · 11e43ece
      Shao authored
      GLSL function texelfetchoffset will be translated into texture.Load in
      ANGLE. In D3D there is a note that When one or more of the coordinates
      in Location exceeds the u, v, or w mipmap level dimensions of the
      texture, Load returns zero in all components, but in glsl there is no
      such restriction, which will cause the WebGL 2 dEQP test
      deqp/functional/gles3/shadertexturefunction/texelfetchoffset.html fail
      on Windows with Intel GPU.
      
      Adapted from ExpandIntegerPowExpressions.cpp, this patch adds a
      translation from texelFetchOffset into texelFetch to work around this
      issue.
      
      BUG=angleproject:1469
      
      Change-Id: Iecfb9570472036acf5960789bdb1a63f191316be
      Reviewed-on: https://chromium-review.googlesource.com/367883
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
  11. 26 Aug, 2016 3 commits