1. 14 May, 2019 2 commits
    • Vulkan: Fix matrix uniforms · b783fbc7
      Shahbaz Youssefi authored
      A piece of code shared with d3d was used to implement this feature.
      However, we store the uniform data transposed and row-major in d3d to
      accomodate the fact that matrix indexing in HLSL is the opposite of GLSL
      (mat[row][col] in HLSL as opposed to mat[col][row] in GLSL).
      
      There were two functions that copied the source matrix fields either as
      column-major or source-major (corresponding to `transpose` false or true
      respectively in glUniformMatrix*) into a row-major destination.  These
      functions are refactored into one, which copies from any-major source to
      any-major destination.  The HLSL backend uses the "to row-major" variant
      and the Vulkan backend uses the "to column-major" variant.
      
      Bug: angleproject:3198
      Change-Id: I7254da4fbe6916af78c5906abcb82ca01674ab9f
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1607541
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Vulkan: Request at least 3 images for MAILBOX. · f7033c55
      Ian Elliott authored
      The glmark2 benchmark score went down (on Android with Pixel devices)
      when ANGLE changed VkSwapchainCreateInfoKHR::minImageCount from 3 down
      to 2, when using VK_PRESENT_MODE_MAILBOX_KHR.  In experimenting, this
      was confirmed.  This CL changes minImageCount back to 3.
      
      Vulkan spec issue #1671 was filed in order to understand whether this
      is a good/bad approach for other drivers/platforms.
      
      Test: glmark2 on Pixel2.
      Bug: angleproject: 3400
      Change-Id: Ia4a72733eb648e4f53feeb8833b174d653fa5766
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1610242
      Commit-Queue: Ian Elliott <ianelliott@google.com>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
  2. 13 May, 2019 10 commits
  3. 10 May, 2019 10 commits
  4. 09 May, 2019 6 commits
  5. 08 May, 2019 12 commits