1. 09 Oct, 2019 6 commits
  2. 08 Oct, 2019 7 commits
  3. 07 Oct, 2019 8 commits
  4. 05 Oct, 2019 1 commit
  5. 04 Oct, 2019 14 commits
  6. 03 Oct, 2019 4 commits
    • Trigger a flush() when the command graph contains too many objects · f750d86a
      Tim Van Patten authored
      If an App repeatedly issues GL commands like glTextImage2D without a
      finish/flush/draw, it's possible for ANGLE to exhaust the available
      Vulkan memory allocations and exceed
      VkPhysicalDeviceLimits::maxMemoryAllocationCount. When this occurs,
      the Vulkan validation layers will trigger an error and cause dEQP
      tests to fail.
      
      This change will query the backend if a flush() should be performed
      during each of the GL delete calls, and perform it if necessary. This
      will cause a queue submission and a Serial increment, allowing the
      allocated memory to be freed, preventing the validation errors.
      
      Bug: angleproject:3818
      Test: KHR-GLES3.copy_tex_image_conversions.forbidden.renderbuffer_cubemap_*
      Change-Id: I26d0a47aa7bca10c25bc8141f1523afbab0b3b5b
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1834781
      Commit-Queue: Tim Van Patten <timvp@google.com>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Re-land "GN: Componentize vulkan back-end build." · 1f08ab28
      Jamie Madill authored
      Re-land fixes angle_end2end_tests disabling Vulkan.
      
      This moves the build configuration into the Vulkan back-end dir.
      This should be a little easier to maintain as all Vulkan-related
      config is in one place.
      
      Note that this should not interfere with Skia's build as they do
      not import the Vulkan back-end sources.
      
      One additional possiblity that this enables is testing other
      compile-time permutations of the Vulkan back-end more easily. For
      example we could make a simple change to enable compile testing
      of the Vulkan back-end with custom command buffers disabled.
      
      Also fixes a few errors affecting less tested configs.
      
      Bug: angleproject:3943
      Change-Id: I0161668abcc58fcf529dde120998d4b99445fdd5
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1838454Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • GL: Refactor BlitGL program types into tuples of enums. · 901aa3fa
      Geoff Lang authored
      Previously we expanded out all the program variations into individual enums
      but as we add more variations this becomes hard to maintain. Generate the
      BlitGL program based on the individual parameter instead.
      
      BUG=990368
      
      Change-Id: I94fd5132baa5b6828aec7823ca5d9f0ffe94379f
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1834581Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
      Commit-Queue: Geoff Lang <geofflang@chromium.org>
    • Only enable shader array size restrictions for HLSL · 1d02157e
      Tim Van Patten authored
      Shader arrays are currently restricted to 64K entries for all translator
      back ends.   This is being changed to just HLSL, since the other back
      ends appear to have support for larger sizes.
      
      Bug: angleproject:3865
      Test: dEQP-GLES31.functional.compute.basic.copy_image_to_ssbo_large
      Test: dEQP-GLES31.functional.compute.basic.copy_ssbo_to_image_large
      Test: ComputeShaderTest.VeryLargeArrayInsideFunction/*
      Change-Id: I9a9d1322e24b3206debdea6a3fd517b4d6869ed9
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1821943
      Commit-Queue: Tim Van Patten <timvp@google.com>
      Reviewed-by: 's avatarTobin Ehlis <tobine@google.com>