1. 03 Dec, 2018 3 commits
    • List vulkan_core.h as input of generate_vulkan_layers_json.py. · ce0a8f3c
      Nico Weber authored
      Since this was missing, the layer json files didn't get regenerated on
      vulkan rolls, leading to stale generated json files, which in turn led
      to incremental builds having different files in the swarming isolate
      than full builds.
      
      To make this type of bug harder to introduce, rewrite
      generate_vulkan_layers_json.py a bit:
      
      - pass in path to vulkan_core.h as an argument
      - also pass in the input .json / .json.in files as arguments,
        so that the script re-runs if a .json or .json.in input is added
        or removed, and in the script verify that the passed-in list matches
        the glob() the script did previously (this verifies that the sources
        list in the .gn file is up-to-date with the state on disk)
      - generate outputs list in gn from sources list, to make sure they're
        in sync
      - use an expicit --icd flag instead of doing `'icd' in path`
      - fail when failing to extract vk_version instead of silently using a
        default
      - some minor python style fixes
      
      Bug: chromium:910699,chromium:869348
      Change-Id: I1e598f4566697a7f1ef56b040e52d0717f7ad075
      Reviewed-on: https://chromium-review.googlesource.com/c/1358631Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Nico Weber <thakis@chromium.org>
    • Don't copy d3dcompiler_47.dll when build target is Windows ARM64 · 5c317537
      Tom Tan authored
      Windows ARM64 was first released at 10.0.16299 which contains d3dcompiler_47.dll under %systemroot%\system32, so no need to copy it from Windows SDK. For the same reason, it is also not included as part of redistribute package for Windows ARM64.
      
      Bug: chromium:893460
      
      Change-Id: I175ce831d800ec1f19c767fc172219f6b693fec3
      Reviewed-on: https://chromium-review.googlesource.com/c/1357155
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Refactor test shader style. · 35cd7332
      Jamie Madill authored
      This change enforces a lot more consistency. We pass const char * to
      the Compile functions instead of std::string. Also fixes the
      indentation of C++11 block comments to be more consistent.
      
      Bug: angleproject:2995
      Change-Id: Id6e5ea94055d8cbd420df4ea2e81b2d96cb5ce78
      Reviewed-on: https://chromium-review.googlesource.com/c/1357103Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
  2. 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>
  3. 29 Nov, 2018 12 commits
  4. 28 Nov, 2018 7 commits
  5. 27 Nov, 2018 8 commits
  6. 26 Nov, 2018 7 commits