1. 19 Apr, 2018 2 commits
  2. 18 Apr, 2018 11 commits
  3. 17 Apr, 2018 9 commits
  4. 16 Apr, 2018 9 commits
  5. 13 Apr, 2018 8 commits
  6. 12 Apr, 2018 1 commit
    • ImageIndex: Consolidate layer/cube face. · cc129377
      Jamie Madill authored
      In terms of the Texture or Image resource, a cube face
      refers to a layer of a 2D texture. This layer has a special
      meaning for cube textures, but it is represented as a layer
      with a layer index. Cube array textures are no different,
      they just use a different indexing scheme for the array
      layers.
      
      This also cleans up the ImageIndex helper to have a class
      structure with private data, and cleans up a few cases to
      use generic Make functions and iterators where they were
      setting properties of the index directly.
      
      This will make it easier to have ImageIndexes address
      entire levels of a Cube map in the future, and makes the
      layer count logic in Vulkan cleaner.
      
      Bug: angleproject:2318
      Change-Id: Iea9842e233f974a9896282ca224cb001f7882bd1
      Reviewed-on: https://chromium-review.googlesource.com/987525Reviewed-by: 's avatarLuc Ferron <lucferron@chromium.org>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>