1. 01 May, 2018 18 commits
  2. 30 Apr, 2018 4 commits
  3. 27 Apr, 2018 2 commits
  4. 25 Apr, 2018 5 commits
  5. 17 Apr, 2018 2 commits
  6. 12 Apr, 2018 4 commits
  7. 11 Apr, 2018 3 commits
    • Anthony Pesch's avatar
      arb_get_texture_sub_image: update cube map tests to make textures cube complete · 2e9aed16
      Anthony Pesch authored
      Update cube map tests to ensure cube map textures are cube complete before querying
      them. Querying a cube map which is not cube complete should set INVALID_OPERATION
      as per the OpenGL 4.6 Core spec:
      
      "An INVALID_OPERATION error is generated if the effective target is
      TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY, and the texture object
      is not cube complete or cube array complete, respectively."
      Reviewed-by: default avatarArthur Huillet <ahuillet@nvidia.com>
      Reviewed-by: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
      2e9aed16
    • Anthony Pesch's avatar
      arb_get_texture_sub_image: fix depth parameter when performing zero-sized texture queries · 9b050471
      Anthony Pesch authored
      Change zero-sized texture queries to pass a valid depth parameter, otherwise
      they should error as per the OpenGL 4.6 Core spec:
      
      "An INVALID_VALUE error is generated if the effective target is TEXTURE_1D,
      TEXTURE_1D_ARRAY, TEXTURE_2D or TEXTURE_RECTANGLE, and either zoffset is not
      zero, or depth is not one."
      Reviewed-by: default avatarArthur Huillet <ahuillet@nvidia.com>
      Reviewed-by: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
      9b050471
    • Anthony Pesch's avatar
      arb_get_texture_sub_image: fix expected error when querying a level which... · f2a0ebb4
      Anthony Pesch authored
      arb_get_texture_sub_image: fix expected error when querying a level which hasn't been explicitly defined
      
      Change expected error from INVALID_OPERATION to INVALID_VALUE when querying a
      level which hasn't been explicitly defined. The level is valid, however, the
      level hasn't been explicitly defined so it should have a default width and
      height of 0, making the 8x8 query produce an INVALID_VALUE.
      
      >From the OpenGL 4.6 spec, 8.22 Texture State and Proxy State:
      "Each initial texture image is null. It has zero width, height, and depth,
      internal format RGBA, or R8 for buffer textures, component sizes set to zero and
      component types set to NONE, the compressed flag set to FALSE, a zero compressed
      size, and the bound buffer object name is zero."
      
      >From the GetTextureSubImage errors in 8.11.4:
      "An INVALID_VALUE error is generated if xoffset + width is greater than the
      texture’s width, yoffset + height is greater than the texture’s height, or
      zoffset + depth is greater than the texture’s depth."
      Reviewed-by: default avatarArthur Huillet <ahuillet@nvidia.com>
      Reviewed-by: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
      f2a0ebb4
  8. 09 Apr, 2018 1 commit
  9. 06 Apr, 2018 1 commit