1. 13 Nov, 2020 16 commits
  2. 12 Nov, 2020 16 commits
  3. 11 Nov, 2020 8 commits
    • Suppress BestPractices-vkCreateDevice-specialuse-extension · 52f77eed
      Tim Van Patten authored
      Suppress the VVL warning:
      UNASSIGNED-BestPractices-vkCreateDevice-specialuse-extension
      
      ANGLE uses the extension to match OpenGL ES line rasterization behavior,
      so this warning doesn't apply and is being suppressed.
      
      Bug: angleproject:5336
      Change-Id: I2f0e086a7ff392e13b6a1da0a55b0e1b81953b2e
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2533437Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    • Suppress Additional MultisampledRenderToTextureES3Test · 3c3edc3b
      Tim Van Patten authored
      The following tests are generating the VVL error
      VUID-VkSubpassDescriptionDepthStencilResolve-stencilResolveMode-parameter
      
      MultisampledRenderToTextureES3Test
      - BlitFramebufferTest()
      - RenderbufferUnresolveColorAndDepthThenTwoColors()
      - RenderbufferUnresolveColorAndStencilThenTwoColors()
      
      Suppressing them for now.
      
      Bug: angleproject:5331
      Change-Id: Ia97def4a798677e0b5f663ba7679de61c673b0c8
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532710Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
      Commit-Queue: Tim Van Patten <timvp@google.com>
    • Vulkan: Support VK_KHR_image_format_list for PbufferSurfaces · 15d5965d
      Mohan Maiya authored
      PbufferSurfaces are now created with VK_KHR_image_format_list
      extension support enabled.
      
      Bug: angleproject:2514
      Bug: angleproject:5281
      Test: PbufferTest.ClearAndBindTexImageSrgb*Vulkan
      Change-Id: I8977484c958328d00f688faa7adffff85a37a3b8
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2530535
      Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
      Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Suppress RenderbufferBlitFramebufferTest · 4a74427e
      Tim Van Patten authored
      The test
      MultisampledRenderToTextureES3Test::RenderbufferBlitFramebufferTest() is
      generating VVL errors with the latest VVL roll:
      VUID-VkSubpassDescriptionDepthStencilResolve-stencilResolveMode-parameter
      
      Suppressing the test rather than the VVL error, so the VVL can still
      catch any new cases of this error while the test is investigated.
      
      Bug: angleproject:5331
      Test: MultisampledRenderToTextureES3Test.RenderbufferBlitFramebufferTest
      Change-Id: I473ee57fe16c1f5cf325004912ef2bc5b9ced0d7
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532658
      Commit-Queue: Tim Van Patten <timvp@google.com>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Suppress VulkanPerformanceCounterTest::DepthStencilTextureClearAndLoad · 89653b97
      Tim Van Patten authored
      The test
      VulkanPerformanceCounterTest::DepthStencilTextureClearAndLoad() is flaky
      on the Windows AMD bots, so suppressing for now.
      
      Bug: angleproject:5329
      Test: VulkanPerformanceCounterTest.DepthStencilTextureClearAndLoad
      Change-Id: I546cd18e319c0b73554fb3ce1e70c75be2168015
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532703
      Commit-Queue: Tim Van Patten <timvp@google.com>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    • Improve stack backtraces on Linux. · 2edec864
      Jamie Madill authored
      This switches the Linux crash handler to use addr2line when it
      is available. Addr2line is much better at converting addresses
      into readable information. The downside is that we must use a
      system call to a binary since it's not easy to integrate with
      addr2line source.
      
      Bug: angleproject:5239
      Change-Id: I13cbaa4ba30166718fb12d924c76ba4f2675453c
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2515265Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
      Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
      Commit-Queue: Tim Van Patten <timvp@google.com>
    • Vulkan: Enable async feature in end2end_tests. · 38016632
      Jamie Madill authored
      This adds a new async-command-queue-enabled config that we run against
      most of the GLES tests in angle_end2end_tests. The tests now test
      both with and without the threaded command queue.
      
      Bug: b/172704839
      Change-Id: Ife75f8328f23ac150cddf8ad8a6c4b8fc2d83986
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532655Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
      Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
    • Revert "Vulkan: Let shader use rotation specialized constant" · c3607098
      Tim Van Patten authored
      This reverts commit 47b3db22.
      
      Reason for revert:
      Broke the ANGLE roll into Chromium:
      https://chromium-review.googlesource.com/c/chromium/src/+/2531069
      
      [1875/27343] SOLINK ./libGLESv2.so
      FAILED: libGLESv2.so libGLESv2.so.TOC 
      /b/s/w/ir/cipd_bin_packages/cpython/bin/python "../../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm"  --sofile="./libGLESv2.so" --tocfile="./libGLESv2.so.TOC" --output="./libGLESv2.so" -- ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-soname="libGLESv2.so" -Wl,--fatal-warnings -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--color-diagnostics -Wl,--no-call-graph-profile-sort -m64 -Werror -nostdlib++ --sysroot=../../build/linux/debian_sid_amd64-sysroot -L../../build/linux/debian_sid_amd64-sysroot/usr/local/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/lib/x86_64-linux-gnu -L../../build/linux/debian_sid_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath=\$ORIGIN -Wl,--export-dynamic -Wl,-rpath=\$ORIGIN -o "./libGLESv2.so" @"./libGLESv2.so.rsp"
      ld.lld: error: undefined symbol: sh::TranslatorVulkan::GetDriverUniformFlipXYRef(sh::TVariable const*)
      >>> referenced by RewriteDfdy.cpp:134 (../../third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.cpp:134)
      >>>               translator/RewriteDfdy.o:(sh::(anonymous namespace)::Traverser::visitUnaryWithRotation(sh::Visit, sh::TIntermUnary*)) in archive obj/third_party/angle/libtranslator.a
      >>> referenced by RewriteDfdy.cpp:200 (../../third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.cpp:200)
      >>>               translator/RewriteDfdy.o:(sh::(anonymous namespace)::Traverser::visitUnaryWithoutRotation(sh::Visit, sh::TIntermUnary*)) in archive obj/third_party/angle/libtranslator.a
      
      ld.lld: error: undefined symbol: sh::TranslatorVulkan::GetDriverUniformFragRotationMatrixRef(sh::TVariable const*)
      >>> referenced by RewriteDfdy.cpp:136 (../../third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.cpp:136)
      >>>               translator/RewriteDfdy.o:(sh::(anonymous namespace)::Traverser::visitUnaryWithRotation(sh::Visit, sh::TIntermUnary*)) in archive obj/third_party/angle/libtranslator.a
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      
      Original change's description:
      > Vulkan: Let shader use rotation specialized constant
      >
      > If use rotation specialized constant is enabled via compiler options,
      > this CL will use rotation specialized constant to generate flipXY,
      > rotation matrix and negFlipXY. This allows the driver to optimize for
      > the minimum instructions for rotation.
      >
      > Bug: b/171750979
      > Change-Id: I9851ac999d4d35b9f230f796e5445bca0dcb1e77
      > Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2514773
      > Commit-Queue: Charlie Lao <cclao@google.com>
      > Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
      > Reviewed-by: Ian Elliott <ianelliott@google.com>
      > Reviewed-by: Jamie Madill <jmadill@chromium.org>
      > Reviewed-by: Tim Van Patten <timvp@google.com>
      
      TBR=ianelliott@google.com,timvp@google.com,syoussefi@chromium.org,jmadill@chromium.org,cclao@google.com
      
      Change-Id: Id3976259d1f4049aa62b679ad5b25c2ac337c92b
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: b/171750979
      Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2532702Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
      Commit-Queue: Tim Van Patten <timvp@google.com>