1. 16 Sep, 2015 5 commits
  2. 15 Sep, 2015 3 commits
  3. 14 Sep, 2015 12 commits
  4. 11 Sep, 2015 18 commits
  5. 10 Sep, 2015 2 commits
    • Adding in checks for program and shader names to return INVALID_OPERATION · 769769a7
      Dian Xiang authored
      When a valid program is given instead of a shader, an INVALID_OPERATION
      is returned rather than INVALID_VALUE when a shader related function is
      called. The reverse happens when a program related function is called and
      a valid shader program is given to it.
      
      This commit also refactors other places that requires a similar check to
      use the same validation function and error message.
      
      BUG=angleproject:1029
      dEQP-GLES2.functional.negative_api.state.get_shader_info_log
      dEQP-GLES2.functional.negative_api.state.get_shader_source
      dEQP-GLES2.functional.negative_api.state.get_programiv
      dEQP-GLES2.functional.negative_api.state.get_program_info_log
      
      BUG=angleproject:1101
      dEQP-GLES3.functional.negative_api.state.get_shader_info_log
      dEQP-GLES3.functional.negative_api.state.get_shader_source
      dEQP-GLES3.functional.negative_api.state.get_programiv
      dEQP-GLES3.functional.negative_api.state.get_program_info_log
      
      Change-Id: I707b6ba10da0288128af185ce8dfb906fca0f766
      Reviewed-on: https://chromium-review.googlesource.com/298604Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
      Tryjob-Request: Dian Xiang <dianx@google.com>
      Tested-by: 's avatarDian Xiang <dianx@google.com>
    • Work around depth texture sampling differences in GL versions. · e8f47137
      Geoff Lang authored
      ES3 requires that only the red channel has data when sampling from depth
      textures while desktop GL treats them as luminance textures.  Set the
      swizzle state of the texture to sample 0 from the blue and green channels
      in TextureGL.
      
      Passes 75 new tests in dEQP-GLES3.functional.texture.format and
      dEQP-GLES3.functional.texture.specification.
      
      BUG=angleproject:884
      
      Change-Id: I863472961dcbbf8af864f5e1d85a4aea41f47bda
      Reviewed-on: https://chromium-review.googlesource.com/298481Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>