1. 16 Sep, 2015 6 commits
  2. 15 Sep, 2015 3 commits
  3. 14 Sep, 2015 12 commits
  4. 11 Sep, 2015 18 commits
  5. 10 Sep, 2015 1 commit
    • 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>