Граф коммитов

11745 Коммитов

Автор SHA1 Сообщение Дата
Yuly Novikov 0253940d0f Add UWP bots
winuwp-x64-dbg and winuwp-x64-rel CI and Try bots.

Bug: angleproject:3928
Change-Id: Ifc54f6daae1090f9c68be6edcd8b1a069f0c5fc2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993691
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-01-10 20:46:47 +00:00
angle-autoroll c792a6bacf Roll third_party/vulkan-validation-layers/src ac72777ef763..c17344df6cca (2 commits)
ac72777ef7..c17344df6c

git log ac72777ef763..c17344df6cca --date=short --first-parent --format='%ad %ae %s'
2020-01-09 petr_kraus@email.cz scripts: Report unassigned VUIDs in stats
2020-01-09 petr_kraus@email.cz scripts: Add best practices tests to stats

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@c17344df6cca

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I670cc25dee3714a451636bfa1e66145d8f77181f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1994252
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-10 08:07:54 +00:00
angle-autoroll dcc57015f8 Roll third_party/SwiftShader 77c89ff847b6..110236f3ce70 (5 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/77c89ff847b6..110236f3ce70

git log 77c89ff847b6..110236f3ce70 --date=short --first-parent --format='%ad %ae %s'
2020-01-09 sugoi@google.com Enable filtering depth+stencil formats
2020-01-09 bclayton@google.com Kokoro: Disable ASAN for debug mac builds
2020-01-09 bclayton@google.com SpirvShader: Move extension list out of for loop.
2020-01-09 bclayton@google.com C++14: Use std::make_unique where possible.
2020-01-09 swiftshader.regress@gmail.com Regres: Update test lists @ 77c89ff8

Created with:
  gclient setdep -r third_party/SwiftShader@110236f3ce

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Ibe4bccbad9c9f306953164aa7c0faf8c778ba68c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1994251
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-10 08:00:44 +00:00
Kenneth Russell 12ce8f687d Upstream WebKit's iOS port of ANGLE.
Added the EAGL backend authored by Dean Jackson from Apple, and the
refactoring changes needed to support it side-by-side with the macOS
backend. Ran "git cl format" against these diffs.

Defined the EGL_ANGLE_device_eagl extension and allocated an enum out
of ANGLE's reserved range.

The iOS backend is not yet included in any of the GN files.

Bug: angleproject:4263
Change-Id: I631c32930433c03bb16a242955ffedf55174bb29
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1987278
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: James Darpinian <jdarpinian@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
2020-01-10 02:00:18 +00:00
Kenneth Russell 7a37d3acf5 Work around Intel driver bug with CopyTex{Sub}Image2D/DeleteTextures.
Dependencies seem to be incorrectly tracked in some Intel OpenGL
drivers (on macOS specifically), causing crashes in glDeleteTextures
if a GL command buffer is being constructed where those textures are
destinations of CopyTexImage2D/CopyTexSubImage2D. Work around this bug
by flushing before texture deletion if CopyTex{Sub}Image have been
called recently. The tracking is only done on a per-context rather
than a per-device basis, but seems sufficient to work around the
problem as identified.

Tested both with new ANGLE test on affected hardware, and in WebKit's
ANGLE backend for WebGL. Works around the crash reported in
https://bugs.webkit.org/show_bug.cgi?id=205707 .

Bug: angleproject:4267
Change-Id: I2266a5590759f6a3f19080def08710ef4b66d463
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1987932
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-09 23:58:27 +00:00
Tobin Ehlis 697b2241a6 Vulkan:Clarify volk license file name
Need to explicitly specifly volk LICENSE.md filename in README.chromium
file.

Bug: angleproject:4225
Change-Id: I5d71ef0c28063f6e036f94ddb7d2c9e289fe79d2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993397
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tobin Ehlis <tobine@google.com>
2020-01-09 19:37:50 +00:00
James Darpinian 27db24581e Optimize disabling ARB_texture_rectangle
In https://crrev.com/c/1838418 I added the ability to disable
ARB_texture_rectangle so that we can use it in the WebGL implementation
but disable it when compiling user shaders. Unfortunately disabling
and re-enabling the extension causes the shader translator to be
reinitialized which turns out to be more expensive than the actual
work of shader translation, at least for small shaders. It's slow enough
to cause timeouts in WebKit's WebGL conformance test runs.

This introduces an alternate method of disabling ARB_texture_rectangle
in the translator which is much faster because it avoids reinitializing
the translator.

Bug: angleproject:3956
Change-Id: I5d31b683ff19a59bdfd289cfd3c609f64ef5e25b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1991969
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: James Darpinian <jdarpinian@chromium.org>
2020-01-09 17:46:38 +00:00
angle-autoroll bf8bd80526 Roll third_party/spirv-tools/src e70b009b0f1e..fb2e819819ef (14 commits)
e70b009b0f..fb2e819819


Created with:
  gclient setdep -r third_party/spirv-tools/src@fb2e819819ef

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC cwallez@google.com,jmadill@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com,jmadill@google.com
Change-Id: Ife103b6f2c902c3ec357ab5058c1afe0c5648119
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993380
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-09 16:05:48 +00:00
angle-autoroll 1c40e03a42 Roll third_party/SwiftShader 45a4d0f36bd6..77c89ff847b6 (13 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/45a4d0f36bd6..77c89ff847b6

git log 45a4d0f36bd6..77c89ff847b6 --date=short --first-parent --format='%ad %ae %s'
2020-01-08 bclayton@google.com Build: Verify that we're compiling with C++14.
2020-01-08 bclayton@google.com Build: Move from using C++11 to C++14.
2020-01-08 bclayton@google.com Kokoro: Update from GCC 4.8 to GCC 7.
2020-01-08 bclayton@google.com Pipeline/SpirvShader: Move setActiveLaneMask()
2020-01-08 bclayton@google.com Pipeline/SpirvShader: Support more OpExtInsts
2020-01-08 bclayton@google.com Pipeline/SpirvShader: Process OpString instructions
2020-01-08 bclayton@google.com Pipeline/SpirvShader: Add Impl struct
2020-01-08 bclayton@google.com Vulkan/Debug: Expose Frames from Thread
2020-01-08 sugoi@google.com Enable B10G11R11_UFLOAT blending
2020-01-08 bclayton@google.com Vulkan/Debug: Add Reference value type.
2020-01-08 chrisforbes@google.com Add storage image support for R16G16_{UINT,SINT,SFLOAT}
2020-01-08 bclayton@google.com Vulkan: Plumb the debug context down to SpirvShader
2020-01-08 bclayton@google.com Vulkan: Add debugging of the command buffer.

Created with:
  gclient setdep -r third_party/SwiftShader@77c89ff847

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I9f7014f2de23f3f9411f07a4b95c0cc48ab5e6ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993043
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-09 09:15:55 +00:00
angle-autoroll 0561d46ee9 Roll third_party/vulkan-validation-layers/src 258b887827ab..ac72777ef763 (1 commits)
258b887827..ac72777ef7

git log 258b887827ab..ac72777ef763 --date=short --first-parent --format='%ad %ae %s'
2020-01-08 mark@lunarg.com corechecks: Fix immutable sampler write fall-through case

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@ac72777ef763

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Id7c2391bdd232852542eb65a5d8372f73cf6d4d3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993044
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-09 08:42:15 +00:00
angle-autoroll f6228fdf6f Roll third_party/glslang/src 1642ca11282a..51813670627c (2 commits)
1642ca1128..5181367062


Created with:
  gclient setdep -r third_party/glslang/src@51813670627c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: Id259094225cc9d58472153114d5836bddb4b6aaf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1993045
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-09 08:06:35 +00:00
Jamie Madill c431d59626 Add Serial to all GL resources.
The Serial will help track active resources for filtering out
inactive setup calls in capture/replay.

Bug: angleproject:4223
Change-Id: I64ba50f27d656c12d45155dc735e9b6f9c04528f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1969062
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-01-08 23:02:16 +00:00
Tobin Ehlis 99c274baf5 Vulkan:Roll volk
All ANGLE volk changes have been upstreamed to volk repo so rolling
volk to sync with latest.
Going forward we can just roll when/if we need newer versions of Vulkan
Header supported by volk.

Bug: angleproject:4225
Change-Id: I6132a94010bbc5f3356ebb0b7e2b2b661ecc68b2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1991722
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tobin Ehlis <tobine@google.com>
2020-01-08 17:44:25 +00:00
Eric Binet b84cdffeec Fix colored indexed point tests not using color in vertex buffer.
In the previous version, the IndexedPointsTestUInt tests named
VertexWithColorUnsignedIntOffset* were redundant with UnsignedIntOffset*.

Bug: angleproject:3923
Change-Id: I6b9b8f2bd78882bcac7c3b89e798291ee94eea70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1988998
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-08 16:16:15 +00:00
angle-autoroll e5d3c6595f Roll third_party/vulkan-validation-layers/src b416ed86e4b2..258b887827ab (3 commits)
b416ed86e4..258b887827

git log b416ed86e4b2..258b887827ab --date=short --first-parent --format='%ad %ae %s'
2020-01-07 mark@lunarg.com tests: Add test for a write update to an immutable sampler
2020-01-07 mark@lunarg.com tests: Add test for copying to immutable samplers
2020-01-07 mark@lunarg.com corechecks: Add validation for writing to immutable samplers

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@258b887827ab

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I4fdaffd02584138c7d4e9d6f0c69221d628cf8ef
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1990983
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-08 08:50:56 +00:00
angle-autoroll 20ed6bcbac Roll third_party/SwiftShader 068dd89cab31..45a4d0f36bd6 (5 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/068dd89cab31..45a4d0f36bd6

git log 068dd89cab31..45a4d0f36bd6 --date=short --first-parent --format='%ad %ae %s'
2020-01-08 capn@google.com Disable unused function warning
2020-01-07 bclayton@google.com Regres: Apply fix for invalid SPIR-V in 12 tests.
2020-01-07 capn@google.com Disable LLVM & Subzero stack traces and crash handling
2020-01-07 digit@google.com vulkan: use a marl::Event in the VkSemaphore implementation.
2020-01-07 digit@google.com [vulkan] Simplify vk::Semaphore implementation.

Created with:
  gclient setdep -r third_party/SwiftShader@45a4d0f36b

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I5b338a33ea57117912e019075c52f09351badea7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1990982
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-08 08:49:07 +00:00
angle-autoroll 90bf5bece6 Roll third_party/glslang/src 1d258ac34698..1642ca11282a (1 commits)
1d258ac346..1642ca1128


Created with:
  gclient setdep -r third_party/glslang/src@1642ca11282a

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I6a686ddc411f6e2087b146fbd146c6a63675bf34
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1990984
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-08 08:39:40 +00:00
angle-autoroll d0788509e1 Roll third_party/vulkan-tools/src 55333361f9a1..2c436960d2c0 (1 commits)
55333361f9..2c436960d2

git log 55333361f9a1..2c436960d2c0 --date=short --first-parent --format='%ad %ae %s'
2020-01-07 charles@lunarg.com vulkaninfo: Make presentation surface names a set

Created with:
  gclient setdep -r third_party/vulkan-tools/src@2c436960d2c0

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: If653af60cbc98b72138c4e1768ec7ccae4f6543c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1990981
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-08 08:39:36 +00:00
Tobin Ehlis db49bc7dd0 Vulkan:Roll volk
Roll volk to the latest version which supports Vulkan 1.1.130.
I'm attempting to upstream our customizations to that version so
this roll is in preparation of those changes hopefully landing.

Bug: angleproject:4225
Change-Id: I02f3bd3808f812c0ec8196b6c815a781e7ab5eeb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1989479
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tobin Ehlis <tobine@google.com>
2020-01-07 18:49:39 +00:00
Ian Elliott c8d7f04774 Vulkan: Update number of samples when changing draw framebuffer
This fixes a crash (preceeded by Vulkan validation errors) when running
the following test:

--gtest_filter=dEQP.KHR_GLES31/core_texture_storage_multisample_FunctionalTests_blitting_multisampled_depth_attachment* --use-angle=vulkan

The problem is that GraphicsPipelineDesc::updateRasterizationSamples()
is rarely called (e.g. glBindFramebuffer).  The above dEQP test changes
between draw attachments that do and don't have multisampling enabled.
The number of samples is set (the first time) to have multisampling
enabled, and never changed, even though other attachments don't have
multisampling.

FramebufferVk::syncState() now calls updateRasterizationSamples().  That
fix uncovered a latent problem: when an application destroys all
framebuffers (including the draw framebuffer), the ContextVk still
points at the old draw framebuffer's FramebufferVk (now freed).  This
is fixed with new plubming to clean-up ContextVk::mDrawFramebuffer.

Bug: angleproject:4240
Change-Id: I151ec40ab821efc07c26323c34275c9165ad2ed5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1983393
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Ian Elliott <ianelliott@google.com>
2020-01-07 18:28:29 +00:00
Tobin Ehlis 2c63b83c8a Vulkan:Enable DebugUtils extension for Android
Enable DebugUtils Vulkan extension for Android.
This rolls VK Validation Layer dep forward to include a fix that
allows this extension to work correctly with Android loader.
Here's the Validation layer fix:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/1464

Bug: angleproject:3852
Change-Id: I74c55c0a66a7ee4db3b623221c8fb6c4433a39af
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1985175
Commit-Queue: Tobin Ehlis <tobine@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-01-07 16:39:48 +00:00
Corentin Wallez cbbb3aafab Suppress VertexAttributeTest.DrawArraysWithBufferOffset on Mac NVIDIA
The test fails with the following at a very low flake rate:
../../third_party/angle/src/tests/gl_tests/VertexAttributeTest.cpp:230: Failure
Expected equality of these values:
  angle::MakeGLColor(255, 255, 255, 255)
    Which is: White
  angle::ReadColor((midPixelX + viewportSize[2]) / 2, midPixelY)
    Which is: Transparent Black

TBR=jmadill@chromium.org
Bug: angleproject:4269
Change-Id: I82752acfbcb2a067ccb35a7a456def03299c359f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1987258
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-01-07 14:34:08 +00:00
angle-autoroll ce396c030d Roll third_party/SwiftShader 10a900e5ffaf..068dd89cab31 (7 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/10a900e5ffaf..068dd89cab31

git log 10a900e5ffaf..068dd89cab31 --date=short --first-parent --format='%ad %ae %s'
2020-01-06 bclayton@google.com SPIRV-Tools: Update Android.bp to fix build.
2020-01-06 capn@google.com Limit Vulkan memory allocation size to 1 GiB
2020-01-06 bclayton@google.com IDs: Move inline impls below class.
2020-01-06 bclayton@google.com Pipeline: Store builtins on SpirvRoutine...
2020-01-06 bclayton@google.com Style: clang-format the tests source too
2020-01-06 bclayton@google.com Merge changes Id1120acb,Ifc6afcda,I8b5da04a,I9389ad9e,I35d60f68
2020-01-06 sugoi@google.com Improve 1010102 blend precision

Created with:
  gclient setdep -r third_party/SwiftShader@068dd89cab

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I9df3cbc0059453193adfbee90f767d06c0149fa2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1989339
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-07 09:23:58 +00:00
angle-autoroll 806b06a213 Roll third_party/glslang/src 6334d594f68c..1d258ac34698 (3 commits)
6334d594f6..1d258ac346


Created with:
  gclient setdep -r third_party/glslang/src@1d258ac34698

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: If27787415b62ecdeee7192fdb6663e8b80cdec79
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1989337
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-07 08:03:28 +00:00
angle-autoroll 0d4675959b Roll third_party/vulkan-validation-layers/src 2be3fe0f8471..b416ed86e4b2 (1 commits)
2be3fe0f84..b416ed86e4

git log 2be3fe0f8471..b416ed86e4b2 --date=short --first-parent --format='%ad %ae %s'
2020-01-06 mark@lunarg.com layers: Added stub functions for instance exts and funcs

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@b416ed86e4b2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC cwallez@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: cwallez@google.com
Change-Id: I1b8ae6d289e25c34c731c4acd42c30dead3ea6d4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1989338
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-07 08:02:28 +00:00
Shahbaz Youssefi 806d812e1a Vulkan: Reorder descriptor sets
This change moves driver uniforms to a set with a lower id than the one
that includes (emulation) transform feedback buffers.  Imagine the
following:

- Program 1 with xfb: UniformsSet: 1 VS uniforms buffer, 1 FS uniforms
  buffer, 1 xfb buffer
- Program 2 without xfb: UniformsSet: 1 VS uniforms bufer, 1 FS uniforms
  buffer.

Previously, UniformsSet was index 0, and DriverUniformsSet was index 3.
When switching from Program 1 to Program 2, the layout of UniformsSet
changes, which means every subsequent set needs to be rebound.  This is
a Vulkan pipeline layout compatibility rule.  This is done with
invalidateCurrentTextures() and invalidateCurrentShaderResources()
already when handling gl::State::DIRTY_BIT_PROGRAM_EXECUTABLE.  The bug
is that the driver uniforms are not invalidated.

This is normally not an issue, because usually when switching from
Program 1 to Program 2, transform feedback is paused, and this state
change does invalidate driver uniforms.  However, the following scenario
doesn't do this:

- Begin Xfb
- Pause Xfb
- Use Program 1
- Draw
- Use Program 2
- Draw
- End Xfb

There is no driver state change between the two draw calls, which means
the second draw will attempt to draw using the driver uniforms bound for
the first draw call.  There is a Vulkan validation error here due to the
above pipeline layout validation rule.

The issue manifests itself only when the second draw call actually uses
driver uniforms, as otherwise that set is inactive and not validated;
i.e. when line raster emulation is used.

In summary, the validation error manifests itself when:

- Transform feedback and line raster both use emulation
- Transform feedback is paused
- A draw with an xfb program is followed by a non-xfb program
- The second draw is a line draw

A test is added for this.

The solution is to reorder the sets so that DriverUniformsSet is placed
before UniformsSet.  This way, changes to the layout of UniformsSet
don't invalidate DriverUniformsSet.

In fact, based on the above, any change in the layout of the program
should have required an invalidation of the driver uniforms.  This bug
is probably masked by the fact that
ContextVk::handleDirtyDescriptorSetsImpl() always rebinds the graphics
driver every time any descriptor set needs rebinding.  That should be
removed in a follow up change.

Bug: angleproject:4261
Change-Id: I21ad4152b454a1fe70554be02e18a9c94fb3e7a8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1986927
Reviewed-by: Tobin Ehlis <tobine@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-07 04:45:22 +00:00
shrekshao 51e653f03f Suppress flaky failure with MacOS/NVIDIA/OPENGL
Seeing intermittent failure on this test only on MacOS/NVIDIA/OPENGL.
Suppress for now.

Bug: angleproject:4258
Change-Id: Ibda30954019410e3b6d069986b2cd0ad26533c00
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984850
Reviewed-by: Shrek Shao <shrekshao@google.com>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2020-01-07 02:11:12 +00:00
Jeff Vigil 8c0bbfbbf5 EGL: Implement EGL_ANDROID_framebuffer_target
Add attribute to configs.
Add attribute matching logic.
Does not set attribute in Vulkan configs, need solution to
query Android for which formats are valid. anglebug.com/4208
New end2end test.

Bug: angleproject:3961
Test: angle_end2end_tests --gtest_filter=EGLAndroidFramebufferTargetTest*
Change-Id: I7e14c47b39e9539f6181c3c1d75c76fe63ca0f8c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1960508
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
2020-01-07 01:10:47 +00:00
Courtney Goeltzenleuchter 7dfc99e5cf Vulkan: Update dEQP source for test fixes
Also fix scripts/gen_vk_gl_cts_build.py to always use '/' as file
separator. Otherwise, running the script on Windows uses '\' which
Linux doesn't like.

Test:
  angle_deqp_gles31_tests --use-angle=swiftshader --gtest_filter=dEQP.GLES31/functional_debug_negative_coverage_get_error_vertex_array_draw_range_elements

Bug: angleproject:2324
Bug: angleproject:4234
Change-Id: I3b212e0d0ba97996f1d86f7fc81e58c3b03a9cbb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1975020
Commit-Queue: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-01-06 22:52:57 +00:00
Shahbaz Youssefi 0721cc8ba0 Vulkan: No line raster emulation code if extension
A flag is added to the translator to disable generation of Bresenham
line raster emulation code when the Bresenham line raster Vulkan
extension is present.  This is primarily for the sake of conversion of
line raster emulation condition to specialization constant:

- Avoid dead SPIR-V code in every shader
- Avoid ANGLEUniforms being active in every shader stage even if it's
  not used anywhere but in line raster emulation.
- Optimize SPIR-V transformations by both having fewer instructions to
  iterate through, and to avoid generating line raster patches.
- Reduce the severity of anglebug.com/4251 where the location assignment
  of ANGLEPosition can incorrectly overlap a varying array or struct, by
  making only platforms without Bresenham extension afflicted by the
  bug.

Bug: angleproject:3394
Change-Id: Ic0ae6ce0392b4eae0cc79cb94bbcd0805b276a31
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1986379
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-06 21:05:38 +00:00
Shahbaz Youssefi f8ae5dc6d7 GL: Enable EXT_gpu_shader5
Bug: angleproject:3569
Change-Id: I08666bde75ac158e051817e689e2c0b82d6b6f70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1978579
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-06 19:44:08 +00:00
Ethan Lee d36780ba3d Fix UWP build
Bug: angleproject:4246
Change-Id: Ifcbb6fe51ee2df6baf86a308de74bab640ded834
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982632
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-01-06 19:36:28 +00:00
Eric Binet f64ddcfdbf Add missing steps in DevSetup
Bug: angleproject:4268
Change-Id: Ib7f58ba241c24acb35d8705d994c57422d9b73e4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1987908
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-06 19:22:38 +00:00
Ethan Lee 56fd2bcefa Fix GGP build
Bug: angleproject:4246
Change-Id: I80906196ebc3c904e75516e8c53b05dd81c5fa5c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982633
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-01-06 17:50:15 +00:00
Le Hoang Quyen ab42afa657 Metal: fix vertex attribute's conversion lost after changing buffer binding.
After vertex buffer's attribute is converted and stored in conversion
buffer. Binding the same attribute to another buffer, then binding it
back to previous buffer will result in previous conversion
information lost. The conversion method would skip the conversion due to
buffer's content hadn't been changed, however it didn't reuse the old
conversion result.

This CL also changed the way binding offset is used in Metal backend.
- Previous, the offset would be assigned to the offset field of
  MTLVertexAttributeDescriptor, then the buffer would simply be bound to
  the command encoder with offset=0
  i.e. setVertexBuffer(buffer, index, 0)
- However this approach has several disadvantages. Since Metal doesn't
  allow MTLVertexAttributeDescriptor's offset to be larger than the
  vertex attribute's stride, the old approach would force the back-end
  to convert the attribute and store in conversion buffer.

New approach:
- MTLVertexAttributeDescriptor's offset will be zero. The offset will be
  used to bind the buffer itself to the render command encoder.
  i.e. setVertexBuffer(buffer, index, offset)
  This way the "offset <= stride" restriction no longer exists. The only
  restriction is the offset must be multiple of attribute's size.

Added 3 new tests:
- SimpleStateChangeTest.RebindTranslatedAttribute
- VertexAttributeTest.DrawWithLargeBufferOffset
- VertexAttributeTest.DrawWithLargeBufferOffsetAndLessComponents

Bug: angleproject:2634
Change-Id: I6c2fa8091436e4a24405d791f86d17d97df02d64
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1940009
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
2020-01-06 17:30:15 +00:00
Jeff Vigil 3311ef6568 update date comments to 2020
run_code_generation.py updated comments with 2019 to 2020.
Put all date updates into this one CL.
This also updated hashes.

Bug: angleproject:4262
Change-Id: Ia213dd5e47f155986cbb4161d777724355878af0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1986994
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-01-06 16:25:35 +00:00
Kenneth Russell 1031d2c65b Upstream Mac logging changes from WebKit.
Use os_log_with_type in ANGLE's logging facility rather than fprintf.

Bug: angleproject:4263
Change-Id: I0c418fc5544001bf4f47ff511d05de2f0ebaa1de
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1987145
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: James Darpinian <jdarpinian@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
2020-01-04 01:51:39 +00:00
shrekshao 81ee4d2919 Workaround EXT_texture_norm16 for OpenGL ES drivers
Implement a workaround for widespread bugs calling glReadPixels with
RGBA/UNSIGNED_SHORT against R16/RG16 color attachments. Read back the
data using the GL_IMPLEMENTATION_COLOR_READ_FORMAT, and then rearrange
the read back pixels to fit the RGBA layout.

Also skip RGB16/RGB16_SNORM texture sample test on Nexus 5X/Nexus 6P
due to a another driver bug.

Bug: chromium:1000354, angleproject:4214, angleproject:4215, angleproject:4245
Change-Id: Iedea6f4136878cac5ad0dec3757c77b73502e1cd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1952166
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Shrek Shao <shrekshao@google.com>
2020-01-03 17:56:58 +00:00
angle-autoroll de97fb4ac4 Roll third_party/vulkan-validation-layers/src e4a2b7f22782..2be3fe0f8471 (7 commits)
e4a2b7f227..2be3fe0f84

git log e4a2b7f22782..2be3fe0f8471 --date=short --first-parent --format='%ad %ae %s'
2020-01-02 jzulauf@lunarg.com layers: Record initial layout on release barriers
2020-01-02 mark@lunarg.com corechecks: Plumb VtxIndex VUIDs through to helper func
2020-01-02 mark@lunarg.com corechecks: Remove obsolete perf warning
2020-01-02 mark@lunarg.com tests: Removed PerfWarning test from VkLayerTest harness
2020-01-02 mark@lunarg.com bestpractices: Use BP VUID in place of corechecks one
2020-01-02 mark@lunarg.com tests: Added test for missing vtx buffers to BP harness
2020-01-02 mark@lunarg.com bestpractices: Added perf warning for missing vtx buffers

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@2be3fe0f8471

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: I80a335bf862d776bc1533f366316f5b899fbfb09
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1986605
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2020-01-03 09:46:39 +00:00
Shahbaz Youssefi 93061d4e76 Vulkan: Support vertex-only line emulation draw with xfb
The code that patches the line raster emulation directive assumed both
vertex and fragment shaders would be present.  This is invalid if only a
vertex shader is present.

This change adds the directive to any stage that's available.  This
includes the possibility of a missing vertex shader also, which can be
useful for separable shaders and program pipeline objects.

Bug: angleproject:3394
Change-Id: I84555db81b59c318300003f7108a01f330e4259f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982782
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-01-03 06:00:48 +00:00
Shahbaz Youssefi 35e6050f50 Vulkan: Correct error message for VK_ERROR_INVALID_SHADER_NV
If an invalid shader is generated, generate the appropriate message
instead of "Unknown error".

Bug: angleproject:3394
Change-Id: I586c99e95cd72daeaf74b4d1eff352942e01d8b7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982783
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-03 05:18:38 +00:00
Xinghua Cao 1fdf6ca514 D3D11: Restrict to translate uniform block to StructuredBuffer
Only translate uniform block to StructuredBuffer when system is
Windows 10 and later.

Bug: angleproject:3682
Change-Id: I27e3f4503392791883a44e1d486ffe9512e04bd8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984863
Commit-Queue: Xinghua Cao <xinghua.cao@intel.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2020-01-02 14:13:13 +00:00
angle-autoroll cbbfa2f28a Roll third_party/SwiftShader 59465799210b..10a900e5ffaf (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/59465799210b..10a900e5ffaf

git log 59465799210b..10a900e5ffaf --date=short --first-parent --format='%ad %ae %s'
2019-12-30 chrisforbes@google.com Add assert in GenericValue constant access

Created with:
  gclient setdep -r third_party/SwiftShader@10a900e5ff

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC courtneygo@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: courtneygo@google.com
Change-Id: Id7ec364a7df7c8389d3bab78761f4b1061d93e10
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984961
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-31 07:57:29 +00:00
Mohan Maiya 942d91520a EGL: Add support for EGL_KHR_gl_colorspace extension
If the Vulkan backend supports VK_EXT_swapchain_colorspace extension,
enable the option for applications to create surfaces with non-linear
formats. Not all formats have non-linear versions and is platform
specific.

Tests: dEQP-EGL.functional.wide_color.*
       angle_deqp_egl_tests --use-angle=vulkan --deqp-gl-context-type=egl --deqp-case=dEQP-EGL.functional.wide_color.*
Bug: angleproject:2514
Change-Id: I441ee797cceef92c84473bfa18605c4fd8180de1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1951963
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2019-12-30 23:45:18 +00:00
angle-autoroll c1fc6de83f Roll third_party/vulkan-headers/src 0e57fc1cfa56..f63dd5c9d874 (1 commits)
0e57fc1cfa..f63dd5c9d8

git log 0e57fc1cfa56..f63dd5c9d874 --date=short --first-parent --format='%ad %ae %s'
2019-12-28 flibitijibibo@gmail.com GN: Make PLATFORM_XCB optional, based on a user-defined variable.

Created with:
  gclient setdep -r third_party/vulkan-headers/src@f63dd5c9d874

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-headers-angle-autoroll
Please CC ynovikov@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

TBR=ynovikov@chromium.org

Bug: None
Change-Id: I57e5f53b741fce8a14d27af4445fcc31ea860c70
Tbr: ynovikov@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984191
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-30 21:27:28 +00:00
Shahbaz Youssefi f02490d18d Vulkan: clean up arguments to glslang wrapper
Some flags were sent as parameters while an Options parameter was added.
This change moves those flags to the GlslangSourceOptions struct.

Bug: angleproject:3394
Change-Id: Iff5c1c83dd564d7bcfcbd84e6df244b7356d669d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984108
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-12-30 19:46:48 +00:00
Shahbaz Youssefi 7fad424eb6 Avoid vector copy in BinaryOutputStream::writeIntVector
Also adds a unit test to make sure readIntVector and writeIntVector
match.  It was not immediately clear that writing the vector size in
writeIntVector is writing an int instead of a size_t.

Bug: angleproject:3394
Change-Id: I09a003c169dbc47e40c0cd3e4da6f1d7a905c6da
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1983162
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2019-12-30 19:10:28 +00:00
angle-autoroll 9fac1817ed Roll third_party/glslang/src 5de15a256eb0..6334d594f68c (4 commits)
5de15a256e..6334d594f6


Created with:
  gclient setdep -r third_party/glslang/src@6334d594f68c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC ynovikov@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: ynovikov@chromium.org
Change-Id: I13837b1d19eccf54aae171349dfadd0d37d7ef77
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1984164
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-30 08:29:37 +00:00
angle-autoroll fca5a005aa Roll third_party/glslang/src bd97b6f9f213..5de15a256eb0 (1 commits)
bd97b6f9f2..5de15a256e


Created with:
  gclient setdep -r third_party/glslang/src@5de15a256eb0

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC ynovikov@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: ynovikov@chromium.org
Change-Id: I2324cfed3dd1026a11ead024c805b216481d47ea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982965
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-27 09:18:03 +00:00
angle-autoroll ebed855925 Roll third_party/SwiftShader 6e3a387c0159..59465799210b (1 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/6e3a387c0159..59465799210b

git log 6e3a387c0159..59465799210b --date=short --first-parent --format='%ad %ae %s'
2019-12-27 capn@google.com Remove Reactor/MutexLock.hpp

Created with:
  gclient setdep -r third_party/SwiftShader@5946579921

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC ynovikov@chromium.org on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: ynovikov@chromium.org
Change-Id: I10048c2c0d1fd7843762ea3636b1ef29b7200359
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1982966
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2019-12-27 07:56:13 +00:00