1. 05 Dec, 2018 2 commits
    • Vulkan: Fix format properties queries · 96bd8fdf
      Shahbaz Youssefi authored
      When querying format properties (in vk::GetFormatProperties), the
      mandatory feature support table was consulted to check whether a number
      of texture features are present.  If so, the entry from that table was
      returned.  The goal had been to speed up initialization by not issuing
      device queries if possible.
      
      That is, when vk::GetFormatProperties was called on a format, if it
      supported that select few texture features, the VkFormatProperties entry
      from the mandatory table would be returned.
      
      However, that function found its way to other uses (such as querying
      buffer format properties, or other image properties beyond the select
      few).  As a result, when the VkFormatProperties from the mandatory table
      was returned, actual support for these other features was often not
      tested and assumed false (unless they happened to be mandatory as well).
      
      This commit reworks the format feature query functions such that the
      specific features to be tested are provided when querying the format
      properties.  The mandatory table is consulted as before, and if the
      entry doesn't contain those features, the device is queried and the
      results cached.
      
      Bug: angleproject:2958
      Change-Id: I28d046eb63c3bd5173468aa4cb3e4c63c83e67b1
      Reviewed-on: https://chromium-review.googlesource.com/c/1357152Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • ES31: support ssbo as binary operand · 81a880aa
      Qin Jiajia authored
      This patch will process ssbo as compound assignment binary operand or readonly
      binary operand.
      
      BUG: angleproject:1951
      
      Change-Id: I4a0da77649d719fa08e6bf4c3d9ace58dbfb7aab
      Reviewed-on: https://chromium-review.googlesource.com/c/1349449
      Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  2. 04 Dec, 2018 3 commits
  3. 03 Dec, 2018 6 commits
  4. 30 Nov, 2018 3 commits
    • Vulkan: Add dynamic index buffers to graph · 4abdf74f
      Shahbaz Youssefi authored
      With DynamicBuffer outputting BufferHelper objects, these objects can
      participate in the command graph, i.e. record commands.  This means they
      need appropriate dependencies in the graph as well as pipeline barriers.
      
      There are a few users of DynamicBuffer for which this change should be
      applied to.  This change covers index buffers.
      
      This commit includes a fix to BufferHelper::copyFromBuffer for WaW
      hazards.
      
      It also includes a fix for a missing pipeline barrier after
      BufferVk::copyToBuffer.
      
      Bug: angleproject:2958
      Change-Id: I3e61af56936580b2da20c28c45defece552d9a39
      Reviewed-on: https://chromium-review.googlesource.com/c/1352732Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • Version-2 API of the A4A opt-in/out (a.k.a. feature-support utilities) · a9d579e8
      Ian Elliott authored
      This version-2 API splits up and renames parts of the version-1 API.
      
      Some initial unit tests were added.
      
      The code is now built and tested on Linux, Windows, and Mac (in
      addition to Android, which is where it's being used).
      
      Memory leaks were fixed and some memory/list-management TODOs were
      also dealt with (associated with an Android bug).
      
      Some review items deferred.  See: angleproject:2993
      
      Bug: angleproject:2794
      Bug: b/113346561
      Change-Id: Iff307f9347fb05a733fe96b6774fb32d36e25590
      Reviewed-on: https://chromium-review.googlesource.com/c/1291837Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
      Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org>
      Commit-Queue: Ian Elliott <ianelliott@google.com>
    • Vulkan: Roll VK deps forward · 317a9ebd
      Tobin Ehlis authored
      Roll VK Headers/Loader/ValidationLayers forward.
      There's a build improvement as well as many new checks.
      
      Added new source file dep, convert_to_renderpass2.cpp, used by core_
      validation for added RenderPass2 checks.
      
      Also had to move glslang fwd for shader validation layer so updated
      from confusing upstream branch of glslang that's integrated with shaderc
      to the independent Khronos glslang repo.
      
      Bug: angleproject:2937
      Bug: chromium:845519
      Change-Id: Ifee911f061dc426404c09499e49c2f029b174d03
      Reviewed-on: https://chromium-review.googlesource.com/c/1355508Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Tobin Ehlis <tobine@google.com>
  5. 29 Nov, 2018 12 commits
  6. 28 Nov, 2018 7 commits
  7. 27 Nov, 2018 7 commits