1. 02 Apr, 2020 2 commits
    • Vulkan: Don't detach separable shaders in Program::detachShader() · 4db77367
      Tim Van Patten authored
      To support Program Pipeline Objects, we need to hold on to the shaders
      in separable programs, rather than detaching them during
      glDetachShader()/glCreateShaderProgramv(). This is necessary due to
      requiring the shader information for validating shader interfaces,
      varyings, etc.
      
      Instead, a new ShaderMap of bools will be stored in
      ProgramState::mAttachedShadersMarkedForDetach to track when a caller
      attempts to detach a shader from a separable Program. Later, when a new
      shader is attached, we will first validate that the old shader is marked
      to be detached, and if so, release it then.
      
      Bug: angleproject:3570
      Change-Id: I63fac2e5914c1c1a73f0b37863bac0f185ecb44c
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2084399Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
      Commit-Queue: Tim Van Patten <timvp@google.com>
    • Vulkan: Enable CPU only buffers for PBOs · 745e0712
      Mohan Maiya authored
      Add support for a CPU only buffer for PBOs that serve as
      the destination for all host operations like MapBuffer*.
      This removes the latency caused by waiting for the in-flight
      GPU commands to be complete before handing over the buffer
      to the app.
      
      This change removes a ~6ms wait/sleep on the first call to
      MapBuffer* in each frame of Manhattan
      
      Bug: angleproject:4339
      Tests: angle_end2end_tests --gtest_filter=BufferDataTest*Vulkan
      Change-Id: I52016b160af8a670cc30f01c05e48f699521310f
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2116874
      Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
      Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
  2. 01 Apr, 2020 14 commits
  3. 31 Mar, 2020 10 commits
  4. 30 Mar, 2020 9 commits
  5. 28 Mar, 2020 5 commits