1. 17 Oct, 2018 2 commits
    • Vulkan: Fix deleting in-use descriptor sets. · 78bcd2be
      Jamie Madill authored
      Sequences of many frames with uniform updates could lead to a bug where
      we attempt to delete descriptor sets that are still in use. To trigger
      the bug we need to write enough uniform data to trigger a descriptor
      set to be freed. This would correctly trigger refresh sets in the
      Program. But if there was a second program idle in the background that
      also allocated descriptors from the old pool, the bug would manifest.
      
      Fix this by storing a shared handle to the descriptor pool in the
      Program. The dynamic descriptor pool won't recycle descriptor pools
      internally unless there are zero outstanding references to the pool.
      
      We could also improve this in a resource sharing situation by keeping
      a single shared dynamic descriptor pool per share group.
      
      Includes a contribution from tobine@google.com that adds a test to
      cover the bug.
      
      Bug: angleproject:2863
      Change-Id: Id585b85f33f8cfa3772ceff3af512d1e4fb0b75a
      Reviewed-on: https://chromium-review.googlesource.com/c/1271919Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Re-land: "ES31: Add vector and matrix support in SSBO for D3D" · 1d8a783c
      Qin Jiajia authored
      Re-land skips ProgramInterfaceTestES31.GetProgramInterface/ES3_1_D3D11 to pass
      the bots. In fact, ProgramInterfaceTestES31.GetProgramInterface/ES3_1_D3D11 is
      not a regression. The reverted CL added more SSBO features and triggered the
      failure. To enable ProgramInterfaceTestES31.GetProgramInterface/ES3_1_D3D11,
      we should support SSBO in render pipeline. This needs to bind SSBO to UAV
      registers in link time instead of compile time since output variables also
      occupies the UAVs. Let's enable this test when we support SSBO in render
      pipeline. Currently, we shouldn't block the SSBO implementation in some common
      features.
      
      Bug: angleproject:1951
      Change-Id: Ic339e8327e79335e6db1d86bedf0072635976f5f
      Reviewed-on: https://chromium-review.googlesource.com/c/1282277Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
  2. 16 Oct, 2018 4 commits
  3. 15 Oct, 2018 1 commit
  4. 12 Oct, 2018 5 commits
  5. 11 Oct, 2018 1 commit
  6. 10 Oct, 2018 6 commits
  7. 09 Oct, 2018 9 commits
  8. 08 Oct, 2018 4 commits
  9. 05 Oct, 2018 8 commits