Commit Graph

61295 Commits

Author SHA1 Message Date
John Stiles
b7152b1931 Fix Graphite SkSL uniform offset calculation.
Previously, when Graphite generated SkSL, it assumed all uniforms were
tightly packed, since SkUniform doesn't have a built-in Offset field.
Now we recalculate the offsets by reusing logic from the UniformManager.
UniformManager has been split into two parts; UniformOffsetCalculator
contains just the basics needed for offset calculation without keeping
a storage buffer or tracking uniform expectations. Since the offset
calculation logic is the same, we should get the same layout for our
SkSL as we get when laying out uniforms to begin with.

Change-Id: I9c55b3255d2228dfdd45e106518bb6896bc78c88
Bug: skia:13405
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556596
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-07 22:48:12 +00:00
skia-autoroll
a4d684fc3e Roll vulkan-deps from c119749eff1f to 12c42239e713 (6 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c119749eff1f..12c42239e713

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from 05de65037136 to bc5c8760af83
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers from 2c823b7f2759 to 9f73b931f402
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools from 1987cb233183 to ffc961dbd741

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

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: robertphillips@google.com
Change-Id: Ibe676d4dbeb4ac09091a48919bff76c50259d4c0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556558
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 22:01:25 +00:00
Arman Uguray
9c242fff99 [sksl] Eliminate unreachable blocks inside switch cases
Added code to remove code within switch statements due to break, return,
and continue statements. The logic is applied conservatively and only
among the statements of an individual switch-case statement without
affecting other cases.

Bug: skia:13484
Change-Id: Id5b936ca91e562a5180a31a039a85de9e093961d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556376
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Arman Uguray <armansito@google.com>
2022-07-07 21:23:54 +00:00
Herb Derby
aec63060e6 Avoid divide-by-zero
If the maximum dimension of a glyph is zero in the drawing of last
resort, then skip this SubRun.

Bug: oss-fuzz:48695
Bug: oss-fuzz:48690
Change-Id: Icdca979c4152494f7028a482e33224664d97f4ae
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556597
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-07 20:56:59 +00:00
Brian Osman
ba0e0dafab Fail paint conversion if a blender fails to produce an FP
Originally, I had to convince myself that these three calls can never
legitimately produce nullptr - that's basically covered by the calls
to blender_requires_shader that would prevent these code paths from
happening. (The source FP is always non-null. The dst FP is nullptr
for two of these, but in both cases we can't reach the call if the
blender is actually kDst).

With the recent change to GrBlendFragmentProcessor, the reasoning is
much simpler: no blender should ever return nullptr on success,
regardless of input.

Bug: skia:13459
Change-Id: I3e097f96f83e45a9bac283b2aec579f012ffb4c1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/551891
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-07-07 20:39:22 +00:00
John Stiles
33ea12e1cb Add SkSLTypeShared cpp file.
Previously, the code for converting an SkSLType to a string only
existed in Ganesh, in GrGLSL.cpp/.h. This has now been moved to
SkSLTypeShared.cpp, and the Ganesh file was removed entirely.

Now that a cpp exists, I also moved some rarely-used utility function
bodies out of the header.

Change-Id: Id37ac54dabfe8b1264a2662a00c9780a1ecae2ba
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556602
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-07-07 20:14:06 +00:00
Brian Osman
068fc2cfc1 Add vtune jit support for linux
Change-Id: Ie82c8a280cbc3997d0b65327535f0eaf0694bdfc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556601
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2022-07-07 19:48:25 +00:00
Brian Osman
4008acdc7c Fix a subtle bug with blend-mode blenders used from runtime effects
The FP factory would apply optimizations based on the mode, and return
one of the passed-in FPs. We use 'nullptr' as the 'src' FP when
constructing the blender's FP in make_effect_fp. This means that we get
back 'nullptr' from a src-mode blender. Later, we interpret that as
src-over (the default for an unset blender). Oops.

The new test variant would previously fail, before the fix to the FP.
The tweak to the FP technically eliminates an optimization, but it's one
that only applies to blending happening in the shader (eg, compose
shader, or runtime effects using a blender), and only when the blender
is one of the trivial modes. The resulting shader will still optimize
down, it just involves a bit of extra work before that happens. This
shouldn't have any long-term performance impact, particularly on
important scenarios.

Change-Id: Id5c6a6ca8a263b35c2dca3c41171748cffd41adb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556599
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-07-07 19:46:38 +00:00
Aditya Kushwah
cb44bf6246 Label external texture.
Pass an optional label parameter to GrBackendTexture and pass
it to MakeWrapped of GrGLTexture because almost all textures
that are coming clients are things where the client owns the
gl texture and passes it into Skia as a wrapped texture via a
GrBackendTexture.

Bug: chromium:1164111
Change-Id: I4bfddda956c72b53d0070595ef3268ee1a2b747f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555597
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-07-07 19:20:59 +00:00
Greg Daniel
bde135f0bc Add support for querying intel device types in GrVkCaps.
These querries aren't actually used in this CL but will be used in the
follow up CL that adds newer intel bots.

Bug: skia:13401
Change-Id: I67b8e07fc66d0515e41e9a66616964235ace6568
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556598
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-07 19:12:28 +00:00
Robert Phillips
20402a69d0 Revert "Add ToolUtils helper for generating GM UI sliders for variable fonts"
This reverts commit 5117907413.

Reason for revert: blocking G3 roll and red bots

Original change's description:
> Add ToolUtils helper for generating GM UI sliders for variable fonts
>
> Use this new tool in the COLRv1 GM test for creating sliders in the GM
> UI if the test font provides variable axes. Update GM
> "fontscalerdistortable" as well.
>
> Preparation for testing variable COLRv1 fonts while developing
> this feature in FreeType.
>
> Bug: chromium:1311241
> Change-Id: I55419d6dc058f420a567d8a50cca5d719206daf4
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555476
> Reviewed-by: Ben Wagner <bungeman@google.com>
> Reviewed-by: Florin Malita <fmalita@google.com>
> Commit-Queue: Ben Wagner <bungeman@google.com>
> Commit-Queue: Dominik Röttsches <drott@chromium.org>

Bug: chromium:1311241
Change-Id: Icdd27da3b5c074964ca07fc6eee3e59aa90234b4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556656
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Robert Phillips <robertphillips@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-07-07 19:02:25 +00:00
Dominik Röttsches
5117907413 Add ToolUtils helper for generating GM UI sliders for variable fonts
Use this new tool in the COLRv1 GM test for creating sliders in the GM
UI if the test font provides variable axes. Update GM
"fontscalerdistortable" as well.

Preparation for testing variable COLRv1 fonts while developing
this feature in FreeType.

Bug: chromium:1311241
Change-Id: I55419d6dc058f420a567d8a50cca5d719206daf4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555476
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Commit-Queue: Dominik Röttsches <drott@chromium.org>
2022-07-07 18:31:45 +00:00
John Stiles
2d6e13210d Add UniformManager tests for matrix/vector padding.
This checks the padding of a matrix followed by a scalar/vector, and the
padding of a scalar/vector followed by a matrix. The checks support
all mixes of 16- and 32-bit sized elements.

After some investigation, this CL also removes some TODOs in
`get_ubo_aligned_offset`. Our uniform system does not support structs,
which is a large source of disparity between layouts. With structs
removed from the equation, the only difference between layouts seems to
be related to std140 array padding. (std430 and Metal seem to be
entirely the same.)

Change-Id: I76c48ae1e597b98aad8a8f8495ab4a8ad262845b
Bug: skia:13478
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556356
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-07-07 17:14:11 +00:00
skia-autoroll
87c9447d1e Roll Dawn from 2c7440a13f5e to e427a9ba5ec2 (4 revisions)
https://dawn.googlesource.com/dawn.git/+log/2c7440a13f5e..e427a9ba5ec2

2022-07-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 1d6a1036bdb3 to 16e026a959f1 (1 revision)
2022-07-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 6745d5386850 to c119749eff1f (4 revisions)
2022-07-07 sugoi@google.com Remove Dawn Depth16Unorm test suppressions for SwiftShader Vulkan
2022-07-07 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 3e5de4acc1fa to afcca86c6da3 (8 revisions)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com,robertphillips@google.com
Change-Id: Ibf5b22ce8421688f0f6243686bed36b15c7e1b9f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556557
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 16:56:33 +00:00
Herb Derby
352f1ff7db Always return a container from SubRunContainer::MakeInAlloc
The old code would return a nullptr on failure or when doing strike
calculations. The rest of the code was not prepared to deal with a
nullptr. When I tried to modify the existing code to deal with a
nullptr, the code became too verbose. I switched to having MakeInAlloc
return an empty SubRunContainer instead of nullptr when performing
strike calculations only.

Bug: oss-fuzz:48695
Bug: oss-fuzz:48690
Change-Id: I633df3316f6f1c3a2b5749722f8c7a0d54ff7f8b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556361
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-07 16:26:17 +00:00
Zhou Shuangshuang
26605d4c5d Add other restrictions to use default dmsaa path
CL[1] makes dmsaa fall back to the default path for d3d11 backend
on Intel gpus. As a complement, this patch adds other restrictions
to make CL[1] only work for Intel gen11 and gen12, which could avoid
any unknown performance regression on old Intel gpus.

[1] https://skia-review.googlesource.com/c/skia/+/545616

Change-Id: I08148d29d9605e692bdcd7208e4f11067156906d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555296
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-07-07 15:49:33 +00:00
skia-autoroll
12183112cd Roll ANGLE from afcca86c6da3 to cd1b22eecd83 (2 revisions)
afcca86c6d..cd1b22eecd

2022-07-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 34e0281e9664 to c119749eff1f (5 revisions)
2022-07-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 0820cef93768 to 84d7af71045d (436 revisions)

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: Ia148023270323b9647bf940b15e00205ed9f75a6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556556
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 15:39:39 +00:00
Brian Osman
680633d465 Runtime effects: Restrict uniform matrices to be square
The fuzzer figured out that #version 300 would let you declare a
nonsquare matrix uniform. Quite a bit of downstream code isn't ready for
that, yet. For now, just tighten things up so the var declaration checks
match the types supported by SkRuntimeEffect::Uniform.

Bug: oss-fuzz:48829
Change-Id: I63daf3dfa7deb795901f19553805cf2351378620
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556359
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-07-07 15:21:01 +00:00
Greg Daniel
884a5240f6 Fix freeing of resources on imported AHB in MultiPictureDocumentTest.
Bug: skia:13445
Change-Id: Idab8d0fb581df75dc87785991e1bb2b5af303c05
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556023
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-07-07 14:40:47 +00:00
Greg Daniel
6db6110a10 Have all vulkan android bots use API 26.
We have unit tests that require api 26 to run, but we have no vulkan
bots that would run them. API 26 is supported on all O devices and I
don't think we'll ever want to run Vulkan on previous android devices.
So I think it is fine for us to just test at api 26 for all our test
bots.

Change-Id: I8f92af6504960b7b688281ad71f5f307fdf57f49
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556028
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2022-07-07 13:19:58 +00:00
John Stiles
82e0cef747 Revert "Simplify uniform padding in Metal (Ganesh)."
This reverts commit eaecd17d7a.

Reason for revert: works fine in practice, but with a debugger attached, the MTL built-in debug pipeline assertions trigger and report size issues e.g.:

Vertex Function(vertexMain): argument _anonInterface0[0] from buffer(0) with offset(0) and length(72) has space for 72 bytes, but argument has a length(80).
Fragment Function(fragmentMain): argument _anonInterface0[0] from buffer(0) with offset(0) and length(72) has space for 72 bytes, but argument has a length(80).


Original change's description:
> Simplify uniform padding in Metal (Ganesh).
>
> Previously, we would pad Metal uniforms to the nearest 16-byte size if
> they contained a float3, float4, or matrix type. This does not appear
> to be necessary (all tests pass without this level of padding).
>
> Since Metal is C++ based, it does have *some* struct padding, based on
> the basic type in the structure with the highest bit-width. Rather
> than track this amount, we just assume that it is 8 and round up
> Metal uniform blocks to the nearest 8-byte size. This will ~never be
> larger than our previous padding, since a typical Skia shader will
> generally always include a float2 uniform or larger (e.g. RTFlip is
> a float2), and will probably be tighter than before since most shaders
> include a color (float3/float4) or matrix uniform.
>
> Change-Id: Ic8dd49f33cb81a24a6415e9ba6e91c9f6faeb1b1
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556216
> Commit-Queue: John Stiles <johnstiles@google.com>
> Reviewed-by: Robert Phillips <robertphillips@google.com>

Change-Id: Ib7749d09e603fb91b1c3f9ff706512b0205d2f16
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556357
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-07-07 13:17:03 +00:00
Ben Wagner
b950ac6d45 Optional OT-SVG support for DirectWrite.
This does not yet support gzip'ed svgDoc. DirectWrite just hands back
the raw svgDoc data here which may be in any format. It does not attempt
to check for the gzip header or flate the contents. Skia will eventually
need to do this itself for full support. At the moment glyphs which are
backed by a gzip'ed svgDoc will fall back to outlines.

Change-Id: I34a92b2285189ecdbdbc6a8b2a668bd4935bca15
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541061
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2022-07-07 12:54:16 +00:00
skia-autoroll
7dae3ab350 Roll vulkan-deps from 6745d5386850 to c119749eff1f (4 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/6745d5386850..c119749eff1f

Also rolling transitive DEPS:
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from dcee3a5de0e2 to 05de65037136

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

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: robertphillips@google.com
Change-Id: I02d9ff3e8fe079d53cbdbaf55f477e0488784dab
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556399
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 09:21:22 +00:00
skia-autoroll
7a78e3ff4f Roll ANGLE from 5a65a2b1c688 to afcca86c6da3 (6 revisions)
5a65a2b1c6..afcca86c6d

2022-07-07 b.schade@samsung.com Fix ValidateCompressedTexSubImage3D compressed format check
2022-07-07 lehoangquyen@google.com Metal: Allow Surfaces to be created without depth & stencil
2022-07-07 syoussefi@chromium.org Vulkan: Resolve GoogleX MSRTSS conflict with EXT
2022-07-06 m.maiya@samsung.com Vulkan: min/mag filters follow chroma filter value
2022-07-06 eddiehatfield@google.com Merge getTempPath and CreateTemporaryFile
2022-07-06 rafael.cintron@microsoft.com Handle OOM in SwapChain11::getRenderTargetShaderResource

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: Iab8d17c8d471cc45d3721975fef095faa4a47dd8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556397
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 05:56:56 +00:00
skia-autoroll
c541297166 Roll SwiftShader from 7987bda077c8 to 1d6a1036bdb3 (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7987bda077c8..1d6a1036bdb3

2022-07-06 sugoi@google.com Always perform depth test using floating point values
2022-07-06 swiftshader.regress@gmail.com Regres: Update test lists @ 7987bda0

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

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: robertphillips@google.com
Change-Id: Iddcc6c88fb6e55b3432711b030f3fec753b6458a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556398
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 04:50:02 +00:00
skia-autoroll
25e2d505d9 Roll Dawn from 871c213d1b23 to 2c7440a13f5e (8 revisions)
https://dawn.googlesource.com/dawn.git/+log/871c213d1b23..2c7440a13f5e

2022-07-07 zhaoming.jiang@intel.com tint: Implement f16 value binary representation
2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 488cb63b5b4d to 1d6a1036bdb3 (1 revision)
2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 34e0281e9664 to 6745d5386850 (1 revision)
2022-07-06 dneto@google.com Fix relative reference to docs/building.md
2022-07-06 dsinclair@chromium.org Roll third_party/webgpu-cts/ 5de908c54..8cfc317e2 (1 commit)
2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 9070e279a887 to 3e5de4acc1fa (4 revisions)
2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 7987bda077c8 to 488cb63b5b4d (1 revision)
2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 5d976018641e to 34e0281e9664 (8 revisions)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com
Change-Id: I549813ed413a3190770dbc249db4cc3f6d90da1b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556396
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-07 04:36:41 +00:00
Herb Derby
45600771c2 Add STSubRunAllocator, an inline SubRunAllocator
Bug: oss-fuzz:48695
Bug: oss-fuzz:48690
Change-Id: I9fb634df54f8e1e7dee84036e2be2512d7a395d8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556030
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-07 00:42:22 +00:00
John Stiles
f0f4277443 Add UniformManager tests for mixed 16/32-bit scalar/vector packing.
Thankfully, this was already working; no changes in the uniform manager
were needed.

Change-Id: Ic2c4807e8efa63a05127d6f96d8a58ce785bbc1e
Bug: skia:13478
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556316
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-07-06 20:59:25 +00:00
skia-autoroll
f899fcfe4d Roll vulkan-deps from 5d1ce362f85f to 6745d5386850 (26 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/5d1ce362f85f..6745d5386850

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross from e6925974d1ff to d8d051381f65
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers from 36c0c1596225 to 0bcc624926a2
  https://skia.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools from 66d88508dd31 to dcee3a5de0e2
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers from 3be1df310be8 to 2c823b7f2759
  https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools from 4643f73ec79d to 1987cb233183

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

To file a bug in skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn;skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE
Bug: None
Tbr: robertphillips@google.com
Change-Id: I5de66d6daebb8776b980ca7d1129552581fd9b21
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556296
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 20:37:35 +00:00
John Stiles
db253e24a2 Do not optimize away intrinsics with non-finite results.
Previously, we would treat double values outside [-FLT_MAX, FLT_MAX]
as finite. In practice, this introduces many hazards; any place in the
code which handled the double value as a float would silently convert
the value to infinity. This includes high-traffic calls like
Literal::MakeFloat.

Note that the if checks are structured in a slightly awkward way to
ensure that NaNs are treated as non-finite.

The original buggy behavior can be seen at http://review.skia.org/556078

Change-Id: Ic126afe57c3d6c7aa3edf9c8f7e339abc5f77739
Bug: oss-fuzz:48592
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556080
Reviewed-by: Arman Uguray <armansito@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-07-06 20:37:29 +00:00
John Stiles
eaecd17d7a Simplify uniform padding in Metal (Ganesh).
Previously, we would pad Metal uniforms to the nearest 16-byte size if
they contained a float3, float4, or matrix type. This does not appear
to be necessary (all tests pass without this level of padding).

Since Metal is C++ based, it does have *some* struct padding, based on
the basic type in the structure with the highest bit-width. Rather
than track this amount, we just assume that it is 8 and round up
Metal uniform blocks to the nearest 8-byte size. This will ~never be
larger than our previous padding, since a typical Skia shader will
generally always include a float2 uniform or larger (e.g. RTFlip is
a float2), and will probably be tighter than before since most shaders
include a color (float3/float4) or matrix uniform.

Change-Id: Ic8dd49f33cb81a24a6415e9ba6e91c9f6faeb1b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556216
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2022-07-06 19:57:04 +00:00
skia-autoroll
6d57262159 Roll ANGLE from 9070e279a887 to 5a65a2b1c688 (6 revisions)
9070e279a8..5a65a2b1c6

2022-07-06 syoussefi@chromium.org Fix samples' arguments to SampleApplication
2022-07-06 antonio.caggiano@collabora.com Vulkan: Wayland resize callback
2022-07-06 chris@rive.app Add a test that passes image2D handles as function args
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from d1116fa9e9dc to 7987bda077c8 (1 revision)
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 24ed8b7a6bd7 to 34e0281e9664 (9 revisions)
2022-07-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 532c25a8e2ac to 0820cef93768 (270 revisions)

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: If1e3c9e98eed92d5d94172fbe2e8dccf15770d97
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556098
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 19:17:53 +00:00
Arman Uguray
bed73de474 [sksl][spirv] Prevent unreachable blocks in loops
- Do not output statements that follow a continue/break statement
  inside loop block.
- Avoid writing an unreachable block when writing do-while statements.

Bug: skia:13484
Change-Id: Ifeac58b6dbd58e2fab7ca7b0233676f2b4bc0260
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555657
Commit-Queue: Arman Uguray <armansito@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-07-06 18:50:38 +00:00
Brian Osman
ad62d59450 SkVertices: Fix out-of-memory errors in deserialization
It was easy to construct a buffer that indicated enormous amounts of
memory had to be allocated. An easy guard is to bail out if the buffer
can't possibly fill those buffers.

Simplify the code a bit: Four years ago (well past the earliest
supported SKP version), we stopped writing out triangle fan data (by
converting to tri-lists at construction time). Remove the
deserialization support, which makes the code easier to follow.

Bug: oss-fuzz:48228
Bug: oss-fuzz:48231
Change-Id: I941da595a250f940316a48cb54caeaec47768973
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556021
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-07-06 18:38:46 +00:00
Ben Wagner
32871e6901 Use os.path.normcase in git-sync-deps
Avoid strange issues with path case insensitivity on Windows with
os.path.normcase.

Change-Id: I9327ba9c22cf5e3ff66b49af56bedd223b24efd4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556025
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2022-07-06 18:32:50 +00:00
Ben Wagner
ae7ec913ca Add a gzip'ed svgDoc to SampleSVG.ttf
The OT-SVG specification allows individual svgDoc inside the SVG table
to be optionaly gzip'ed. Add a glyph to SampleSVG.ttf which uses a
compressed svgDoc so that this can be tested.

This font crashes vanilla FreeType 2.12.0 and 2.12.1. This issue was
fixed with [0] and backported to Debian in 2.12.1+dfsg-3 [1].

[0] c26872ed59
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013094

Change-Id: I45e115a743b8aa4d545f34c9668597d22e0a2bf4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/545779
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2022-07-06 17:59:18 +00:00
Robert Phillips
4a3521e119 Revert "Guard against divide-by-zero in drawing of last resort"
This reverts commit 7f8303d25a.

Reason for revert: red Graphite bots

Original change's description:
> Guard against divide-by-zero in drawing of last resort
>
> Exit early if there will be a divide by zero or if no pixels are
> to be drawn. Report that some glyphs have been excluded.
>
> Bug: oss-fuzz:48695
> Bug: oss-fuzz:48690
> Change-Id: Ifdb0fad656ffc27bac7253035c7cd05ee96c274c
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556018
> Reviewed-by: Brian Osman <brianosman@google.com>
> Commit-Queue: Herb Derby <herb@google.com>

Bug: oss-fuzz:48695
Bug: oss-fuzz:48690
Change-Id: I3342fc75ff3ba48db941f71d4abdfbfbe62fa589
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556081
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Robert Phillips <robertphillips@google.com>
2022-07-06 17:11:13 +00:00
Ben Wagner
2bc5447527 Let PDF know when TrueType isn't TrueType.
FreeType reports that the type of a font is TrueType when the font is
logically TrueType. However, the underlying data may not be TrueType and
may be encoded in woff or woff2. The raw woff or woff2 data should not
be embedded in the PDF. If the tables are accessed individually it is
possible to subset them into a TrueType font. However, the subsetters
are not currently capable of handling a font as tables so fall back to
Type3 for now.

Change-Id: I5235ad02fd73fd88759dc30adfcf80aa0e4d2feb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/543921
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2022-07-06 16:44:59 +00:00
Robert Phillips
48cfc92ec8 Revert "[ganesh][dawn] Use GrRingBuffer for uniform buffer allocation"
This reverts commit 9da66d2a57.

Reason for revert: Seeing if this is blocking the G3 roll

Original change's description:
> [ganesh][dawn] Use GrRingBuffer for uniform buffer allocation
>
> The Dawn backend used its own GrDawnRingBuffer type to manage uniform
> buffer slices which always made new wgpu::Buffer allocations on-demand.
> It now uses the GrRingBuffer type for this purpose.
>
> While the Dawn backend does not use mapped buffers for uniform data
> uploads and buffers are ref-counted and freed by Dawn automatically
> after use, using GrRingBuffer allows it to share the same
> GrResourceProvider infrastructure as the other backends.
>
> Change-Id: Id2697f306f9ce3d5c6c85745b135585b092b6fb0
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/553525
> Reviewed-by: Brian Salomon <bsalomon@google.com>
> Commit-Queue: Arman Uguray <armansito@google.com>

Change-Id: Id9960b0b2bdf9ecab5889ef2050425e422e86090
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556079
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-07-06 15:54:26 +00:00
Herb Derby
7f8303d25a Guard against divide-by-zero in drawing of last resort
Exit early if there will be a divide by zero or if no pixels are
to be drawn. Report that some glyphs have been excluded.

Bug: oss-fuzz:48695
Bug: oss-fuzz:48690
Change-Id: Ifdb0fad656ffc27bac7253035c7cd05ee96c274c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556018
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2022-07-06 15:30:22 +00:00
John Stiles
41a1d5f495 Remove redundant argument-list description code.
While reading through this code, I realized we implemented the same
function-argument stringizing loop three times. (A fourth version in
`description()` is similar, but prints the expressions, not types.)

Change-Id: I78610cdf6412b2d08984ac701e6421c356f25a83
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/556076
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2022-07-06 15:22:20 +00:00
Kevin Lubick
68d6ff9222 [includes] Reduce IWYU exports from SkTypes.h
SkTypes.h was found exporting <stddef.h> and <stdint.h>.
Thus if a Skia file includes SkTypes.h, it did not need
to include either of those files to use things like
size_t or uint8_t respectively. [1]

This also resulted in strange IWYU warnings like:
warning: size_t is defined in "include/core/SkTypes.h", which isn't directly #included.

Thus, this CL removes those additional exports, and as a result,
adds many more includes of <cstddef> and <cstdint>.

The second change this CL is to not use the default IWYU
mappings which are hard-coded into IWYU [2]. These defaults
are valid, but make suggestions for the C version of
headers and not the C++ ones (i.e. <stddef.h> over <cstddef>).

To make these recommendations align better with our preferred
style (the C++ ones), we use IWYU with --no_default_mappings
and then have to expand our existing mappings to better deal
with how IWYU would resolve some of these headers.

[1] https://codereview.chromium.org/1207893002/#msg49
[2] 4c0f396159/iwyu_include_picker.cc (L1221-L1234)

Change-Id: Iafebe190f8f3e86f252147b9f538c182bcc34af4
Bug: skia:13052
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555516
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-07-06 14:52:55 +00:00
John Stiles
48b27317b4 Fix fuzzer-discovered error with range checks.
The fuzzer managed to create a NaN using a carefully-crafted mix of
intrinsics and constant folding. (`cosh(421)` is a very large double,
which becomes +Inf when cast to float, which is then multiplied by 0;
zero times infinity is NaN.)

Our code which checked to see if a value is in range of an int did not
consider NaNs and their always-false behavior, so it incorrectly
decided that NaN was in range. This CL reverses the check so that a NaN
will not pass, but all other values will behave the same.

Followup CLs should probably also tighten up the folding/optimizer
behavior so that NaNs/Infs are not created at all.

Change-Id: Idd2b0447ebe115e00bdba63ca7ff655f6c902fc6
Bug: oss-fuzz:48592
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555009
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2022-07-06 14:24:59 +00:00
skia-autoroll
bc15c6a548 Roll ANGLE from 86c735bfe650 to 9070e279a887 (5 revisions)
86c735bfe6..9070e279a8

2022-07-05 m.maiya@samsung.com Vulkan: Handle platforms that have imprecise float division issues
2022-07-05 ynovikov@chromium.org Roll chromium_revision b1ab0fbd60..532c25a8e2 (1020158:1020841)
2022-07-05 syoussefi@chromium.org Vulkan: Fix round-after-dither logic
2022-07-05 ukai@google.com angle: set $build/goma["use_luci_auth"] = True
2022-07-05 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 8e3184380881 to 24ed8b7a6bd7 (2 revisions)

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: I17642ea9356742cef44aca9566821c7b86cf6996
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555957
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 05:54:24 +00:00
skia-autoroll
046d0ce374 Roll SwiftShader from d1116fa9e9dc to 7987bda077c8 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/d1116fa9e9dc..7987bda077c8

2022-07-05 nicolas.capens@gmail.com Compute vertex clip flags using scalable SIMD

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

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: robertphillips@google.com
Change-Id: I61913c9a41b4d81b6d429a5b207cd0c185b86876
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555958
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 04:55:02 +00:00
skia-autoroll
019f67c30a Roll Dawn from b9ab0240030d to 871c213d1b23 (6 revisions)
https://dawn.googlesource.com/dawn.git/+log/b9ab0240030d..871c213d1b23

2022-07-06 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 1154cc46d44d to 9070e279a887 (2 revisions)
2022-07-06 dneto@google.com Delete tests with invalid SPIR-V inputs
2022-07-05 dsinclair@chromium.org Roll third_party/webgpu-cts/ 7334f06d2..6c0f3bab4 (11 commits)
2022-07-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from d1116fa9e9dc to 7987bda077c8 (1 revision)
2022-07-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 24ed8b7a6bd7 to 5d976018641e (1 revision)
2022-07-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 44d8bf7602e2 to 1154cc46d44d (4 revisions)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com
Change-Id: I9064033641a23b82c19afee6c3877be42594bf65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555956
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-06 04:42:56 +00:00
skia-autoroll
83c4cebc1e Roll ANGLE from da984303fda1 to 86c735bfe650 (4 revisions)
da984303fd..86c735bfe6

2022-07-05 chris@rive.app pls: Rename GL_DISABLED_ANGLE -> GL_DISABLE_ANGLE
2022-07-04 antonio.caggiano@collabora.com Vulkan: Support EGL_EXT_platform_wayland
2022-07-04 antonio.caggiano@collabora.com Vulkan: Support DRM_FORMAT_MOD_LINEAR
2022-07-04 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from cf47f3e49a61 to 8e3184380881 (2 revisions)

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: I2fb4a4886dd669e2f7612c86f658687d3b4448f7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555816
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 05:53:12 +00:00
skia-autoroll
022cad13a1 Roll Dawn from c4f0232de2dc to b9ab0240030d (6 revisions)
https://dawn.googlesource.com/dawn.git/+log/c4f0232de2dc..b9ab0240030d

2022-07-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 2117cffa2620 to 24ed8b7a6bd7 (1 revision)
2022-07-05 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 2a941833c838 to 44d8bf7602e2 (2 revisions)
2022-07-04 dsinclair@chromium.org tint: Remove semicolon as struct member delimeter
2022-07-04 dsinclair@chromium.org tint: Disallow write-only storage buffers
2022-07-04 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 8e3184380881 to 2117cffa2620 (1 revision)
2022-07-04 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from da984303fda1 to 2a941833c838 (1 revision)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com
Change-Id: I869587b1ac3d08ed6fdedd16d6317d97bab9bf70
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555817
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-05 04:41:12 +00:00
skia-autoroll
79b146dbf1 Roll ANGLE from defd99dc4cd5 to da984303fda1 (8 revisions)
defd99dc4c..da984303fd

2022-07-01 chris@rive.app Add a pls test for in-shader coherency
2022-07-01 chris@rive.app Add a pls test for load-only storage
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll VK-GL-CTS from e22ec5fc4cbf to 867b77cee987 (1 revision)
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 8bf3474ad33a to b1ab0fbd602a (1173 revisions)
2022-07-01 cclao@google.com Reland "Reland "Vulkan: Destroy DescriptorSet cache when it becomes invalid""
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 863435cf0898 to cf47f3e49a61 (19 revisions)
2022-07-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 90fdde382489 to d1116fa9e9dc (13 revisions)
2022-07-01 lexa.knyazev@gmail.com BlitGL: Fix LUMAWorkaround for half-float copies

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

To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Release-ANGLE;skia/skia.primary:Test-Win10-Clang-AlphaR2-GPU-RadeonR9M470X-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUC8i5BEK-GPU-IntelIris655-x86_64-Debug-All-ANGLE;skia/skia.primary:Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Debug-All-ANGLE
Tbr: robertphillips@google.com
Change-Id: I1ee548fa47b8f599a8bbbd298a0fe4ff2f5dffd4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555737
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-04 05:52:47 +00:00
skia-autoroll
bb8406655f Roll Dawn from 24239fcc4786 to c4f0232de2dc (7 revisions)
https://dawn.googlesource.com/dawn.git/+log/24239fcc4786..c4f0232de2dc

2022-07-02 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from ad005b700de1 to 8e3184380881 (1 revision)
2022-07-02 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 4a5fe6fb56e5 to da984303fda1 (6 revisions)
2022-07-01 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from cf47f3e49a61 to ad005b700de1 (1 revision)
2022-07-01 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 76c2f42ea652 to cf47f3e49a61 (8 revisions)
2022-07-01 zhaoming.jiang@intel.com CTS: Update expectation for non-ASCII entry point name
2022-07-01 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 4b745c2bfa6b to 4a5fe6fb56e5 (3 revisions)
2022-07-01 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 43183d8b4d0c to d1116fa9e9dc (7 revisions)

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

To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry

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/+doc/main/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: shrekshao@google.com
Change-Id: Ie73cb7d7ef89d0a3019ad20fd9418c6a5f21335e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555738
Bot-Commit: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2022-07-04 04:42:12 +00:00