1. 08 Jan, 2020 2 commits
  2. 07 Jan, 2020 10 commits
  3. 06 Jan, 2020 8 commits
  4. 04 Jan, 2020 1 commit
  5. 03 Jan, 2020 4 commits
  6. 02 Jan, 2020 1 commit
  7. 31 Dec, 2019 1 commit
  8. 30 Dec, 2019 5 commits
  9. 27 Dec, 2019 2 commits
  10. 25 Dec, 2019 4 commits
  11. 24 Dec, 2019 2 commits
    • Use TSpan for TType's array sizes · 86d9c93a
      Shahbaz Youssefi authored
      Until C++20, std::vector doesn't have a constexpr constructor, which
      means TType cannot use a `TVector` for `mArraySizes` if an arrayed type
      needs to be created constexpr.  This is needed for the upcoming
      textureGatherOffsets implementation.
      
      A new TSpan class is introduced, based on std::span (from C++20) that
      holds the pointer/size allocated from a TVector without owning it.
      Since TVector's allocation are made from a pool, the allocated memory
      will live beyond the vector's destruction.  `TType::mArraySizes` is
      changed to this type.
      
      This change will allow a new constexpr constructor to be added to TType
      that takes a TSpan as array directly, a value which is constexpr
      initialized from a static array (instead of TVector).
      
      Bug: angleproject:3569
      Change-Id: I78793b0f4c64519e0ebe30cf6e0de995ba70035d
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1968260Reviewed-by: 's avatarJiajia Qin <jiajia.qin@intel.com>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • Vulkan:Transform/feedback instanced draw support · c713abfd
      Tobin Ehlis authored
      These fixes allow dEQP 3.1 KHR-GLES31.core.vertex_attrib_binding.basic-input*
      test cases to pass.
      
      This fixes a bug in instanced drawing with transform feedback buffers
      where we were overwriting the initial transform feedback output as new
      instances were drawn. To fix this, the vertices in each draw are passed
      into a uniform value and the output is offset based on the current instance
      and the number of vertices in the draw.
      
      It also fixes a validation error where transform feedback descriptor
      was sometimes setting a buffer range of 0. This is not allowed, so in
      the 0 case we pull the actual buffer size from the bufferHelper object.
      
      Bug: angleproject:4236
      Change-Id: Ib72898a0e6caab96c446c1e996a6124d2c001193
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1979600
      Commit-Queue: Tobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
      Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>