Commit Graph

52278 Commits

Author SHA1 Message Date
Robert Phillips
35f1b20840 Fix bug in GrClearOp combining and remove some asserts
The buffer combining code path was combining the ops but never
telling the external system that the second op could be removed.

Bug: skia:10963
Change-Id: If015d877ffbbb75964aae9ca92ea760d7041372a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339203
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2020-12-02 13:17:26 +00:00
skia-autoroll
f0b93642dc Roll ANGLE from 234fccfb1818 to 0f083ab02635 (5 revisions)
234fccfb18..0f083ab026

2020-12-02 jonahr@google.com Reinitialize GL_VENDOR string when GPU switches
2020-12-01 jmadill@chromium.org Reland "Vulkan: Use specialization constant for halfRenderAreaWidth"
2020-12-01 ynovikov@chromium.org Skip MultithreadingTestES3 tests on Linux Intel Vulkan
2020-12-01 m.maiya@samsung.com Reland "Vulkan: Fix incorrect exposure of sRGB extensions"
2020-12-01 jmadill@chromium.org Revert "Vulkan: Use specialization constant for halfRenderAreaWidth"

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 westont@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/+doc/master/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: westont@google.com
Change-Id: If183060cceda98a94b2536c77828d14db68b25b1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339936
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-12-02 04:45:06 +00:00
skia-autoroll
1ca29cc9b8 Roll Dawn from a827aa2c29aa to 6f5151f6572b (9 revisions)
https://dawn.googlesource.com/dawn.git/+log/a827aa2c29aa..6f5151f6572b

2020-12-01 senorblanco@chromium.org Enable D* end-to-end tests on OpenGL ES backend.
2020-12-01 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from eac3c5bf5197 to 782f6a5e3e3c (50 revisions)
2020-12-01 senorblanco@chromium.org Disable some further C* end2end tests on GLES.
2020-12-01 senorblanco@chromium.org Enable most C* end-to-end tests on OpenGL ES.
2020-12-01 senorblanco@chromium.org Enable BufferTests on OpenGL ES.
2020-12-01 senorblanco@chromium.org Fix SSBO bindings in GLES backend.
2020-12-01 rharrison@chromium.org Add support for using Tint Inspector
2020-12-01 cwallez@chromium.org CommandBufferMTL: Address review comments
2020-12-01 shaobo.yan@intel.com Enable CopyTextureForBrowserTests on Vulkan/Metal Backend

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 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/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com
Change-Id: I8c9ffb3988c03822c37cf43fbb5fd419d0db8f58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339463
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-12-02 04:36:56 +00:00
Herb Derby
bd51ac3825 remove perspective SDF from subrun
SDF can never be perspective because of line 53 of
GrSDFTOptions.cpp. Just remove all the perspective code.

Change-Id: I7f08c05ab6f0ea2d885a8ebc6ca6f802ca9adc69
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339718
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2020-12-02 00:44:16 +00:00
Mike Klein
51c01588f3 add CPU feature detection for iOS / ARM Mac
My reference was mostly `man 3 sysctl`.

I'm pretty sure 'neon_fp16' is the right bit for FP16 NEON compute and
'neon_hpfp' just mean's its got f32<->f16 instructions, but I could be
mixed up.  It'll become extremely obvious once I start using that bit.

Bug: skia:11001
Change-Id: I8bb73aef71b750b766aa1d0e29878fd7a8e8d6da
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339837
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-12-01 21:49:25 +00:00
Brian Salomon
b030b1fca9 Don't drop mip map mode in GrTextureOp->GrTextureEffect fallback
Change-Id: I900345ba52605c3b3e0f077655ec5c25bab01b9c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/337721
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
2020-12-01 21:42:25 +00:00
skia-autoroll
c504ecda03 Roll ANGLE from 59aa1ef1975a to 234fccfb1818 (18 revisions)
59aa1ef197..234fccfb18

2020-12-01 jmadill@chromium.org Entry Points: Add egl:: namespace to Display.
2020-12-01 jmadill@chromium.org Test Runner: Handle flaky failures.
2020-12-01 jmadill@chromium.org Vulkan: Fix BufferHelper leaks in DynamicBuffer.
2020-12-01 jmadill@chromium.org Entry Points: Combine desktop GL minor versions.
2020-12-01 jmadill@chromium.org Entry Points: Clean up versions lists.
2020-12-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 9dff6a3bb595 to bfb211914759 (4 revisions)
2020-12-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 2232da5cfdfa to db49fa80f93d (475 revisions)
2020-12-01 m.maiya@samsung.com Add support for OES_framebuffer_object extension
2020-12-01 cclao@google.com Vulkan: Use specialization constant for halfRenderAreaWidth
2020-11-30 jmadill@chromium.org EGL: Generate entry points.
2020-11-30 paulthomson@google.com Capture/Replay: track swapWithDamage
2020-11-30 jmadill@chromium.org Rename FromGL to PackParam.
2020-11-30 jmadill@chromium.org EGL: Generalize the entry point enum.
2020-11-30 jmadill@chromium.org Vulkan: Use XFB queries with the XFB extension.
2020-11-30 syoussefi@chromium.org Fix ordering of stages in gl::ShaderType
2020-11-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 8756b1cb930a to ce0450b9e8e5 (2 revisions)
2020-11-30 jmadill@chromium.org code gen: Be more robust to dirty hashes.
2020-11-30 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 553b5bcd72c7 to 2232da5cfdfa (287 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 westont@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/+doc/master/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: westont@google.com
Test: Test: FramebufferObjectTest*
Change-Id: I6a66fbaf4d40e993ee98aafd152f0224efc19e29
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339823
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-12-01 21:30:25 +00:00
John Stiles
986c7fb8ca Fix codegen errors with Metal return statements.
The Metal return type from main() diverges from the SkSL source, so we
patch it in the Metal code generator. This CL improves the patching
process in multiple ways:

- A `return` statement from a fragment processor main() is rewritten to:
    return *_out;

- A `return` statement from a vertex processor main() is rewritten to:
    return (_out->sk_Position.y = -_out->sk_Position.y, *_out);

- We avoid emitting a duplicate `return *_out;` statement if we can
  determine that main() already ends in a return statement. This is
  harmless either way so it doesn't necessarily catch everything. (e.g.
  it doesn't detect an if/else which returns at the end of both blocks.)

Also added a unit test which returns from the middle of a vertex shader,
since we didn't test this anywhere and we need to verify that
sk_Position.y will be negated. (This didn't work properly before.)

Change-Id: I14cf18375894fc712fa6c6466df3888ebaeba7c8
Bug: skia:10903
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339636
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-01 21:28:05 +00:00
Brian Osman
68da339a11 Add ByteCode output to skslc
Change-Id: I447f56a3ef464ef9a3cfc644f6ef4e4ab4e08a62
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339498
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-12-01 20:53:55 +00:00
John Stiles
842b3599c8 Enforce layout(location=...) on Metal out variables.
Previously, this would generate invalid code such as `[[user(locn-1)]]`.
We now generate a more-useful error at SkSL compilation time.

Change-Id: Ifbe335ec6d4abcbdfe89b892ba51063c94d22b11
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339397
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-12-01 20:41:15 +00:00
Herb Derby
46d1e9f5f2 remove use of initial matrix
This was just wrong. It should be determine perspective
using the matrix that we are drawing with, and not the initial
matrix.

Change-Id: I8410ced714d2c766305656bdbd797f9dea59b71e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339796
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Herb Derby <herb@google.com>
2020-12-01 20:11:24 +00:00
John Stiles
7bd7033072 Disallow global variables containing arrays of opaque types.
GLSL only supports arrays of samplers in very limited ways; they aren't
supported at all by SkSL. We now detect arrays of opaque objects and
reject the code.

We have several paths through the IR generator that create and process
array types; the unit test covers global and local variables, and array
on the type versus array on the variable.

Change-Id: I5b45e88e31cf4005723c3bf35561622d65321f7b
Bug: skia:11008
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339317
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-12-01 20:04:14 +00:00
Ethan Nicholas
7b776b5149 Created SKSL_USE_THREAD_LOCAL define
Upcoming CLs are going to add more thread_locals to SkSL, so it makes
sense to bake this test into a convenient define.

Change-Id: I5c878b16ecc0cd6f5dfeab37d16734cb9fd270bd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339717
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-12-01 19:13:43 +00:00
Mike Klein
0c2cc23561 rearrange types in SkRuntimeEffect program_fn()
Our stack contains values that are either F32 or I32, and notionally
stores them as F32, using pun_to_I32() when it's actually an int.

Instead, remove that F32 bias and store the skvm::Val, the type-erased
value ID that underlies both F32 and I32.  Then reconstruct the types as
needed using pop_F32() / pop_I32(), or the now-smarter
unary/binary/ternary.  Those helpers work in terms of Val now, and will
infer the right F32/I32 types from their argument functor.  A few other
stack manipulators now also work in a type-agnostic way.

What do you think of this instead of separate F32/I32 stacks?  The cond
and mask stacks are already conceptually crowding things a bit, and this
lets us keep the primary stack all in one place.  And it'd be tricky to
index into split F32/I32 stacks for things like kLoad, kStore, kDup.

Change-Id: I255766f35553fbb4f6cf8479b0fc6d7617bfdf08
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339676
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-12-01 18:48:33 +00:00
Herb Derby
683f572378 use SkGlyphRect to record subrun bounds
Take advantage of the integer properties that direct subrun
must have.

Change-Id: I169cf9f76332b921c013793ff17b7777f0b6bca6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339499
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2020-12-01 18:34:53 +00:00
Chris Dalton
a927771c9c Extract reusable functions from stroke tessellation shaders
Bug: skia:10419
Change-Id: I6c1e919267b48d862f515c5b95d070c4757f7f74
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339459
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2020-12-01 17:34:02 +00:00
Mike Klein
5ec9c4e763 disambiguate skvm::bit_cast()
Change-Id: If22eabb68b9293f5bc1d275535135d9760fe1ae5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339578
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-12-01 17:31:52 +00:00
Ethan Nicholas
bb9fbe057a Allow SkASSERTF to take zero varargs parameters
Previously, calling SkASSERTF(test, "message") would result in an error
due to a dangling comma in its expansion. Adding '##' instructs the
preprocessor to strip the dangling comma if there are no varargs.

Change-Id: Id5dd27e770cf6cd9dec9cd62808d1821f37c9c65
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339398
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2020-12-01 17:18:52 +00:00
Mike Klein
42d67a67f5 remove "half" term from SkVM
fp16 is a more precise name, given that there are things like bfloat16,
and this may free up the word "half" for the same sort of more nebulous
format as we use it in SkSL.

Change-Id: I55c39f3670f2c300b9306c92a86c4ec7a2e7b5d7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339577
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-12-01 17:08:32 +00:00
Chris Dalton
356cef301b Simplify grvx::approx_angle_between_vectors signature
Rather than taking the x and y values separately (ax, ay, bx, by),
simply take two vec<N*2>'s (a, b), where the x's are in a.lo and the
y's in a.hi.

Bug: skia:10419
Change-Id: I21d659c79247ccb625351c20b93c550d0afffe79
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339458
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
2020-12-01 16:16:42 +00:00
Brian Osman
540c13a791 Test & implement "vector relational intrinsics"
Add missing "not" intrinsic to SPIR-V, and several relational/logical
opcodes to runtime effect's skvm converter.

Bug: skia:10913
Change-Id: Ic349d491d980d0018134801260073414485f9059
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339316
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-12-01 16:10:43 +00:00
Ben Wagner
831a5a10f4 Fix DWrite axis design parameters.
DWrite makes up a bunch of axes that don't exist, so non-variable axes
are ignored. However, the actual index of the non-variable axes was not
being updated. Update it.

Bug: skia:10928
Change-Id: Iedce5d0dd58f447821b403c38f033d214b457e9f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338602
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-12-01 15:00:33 +00:00
skia-autoroll
a1ebb44f61 Roll SwiftShader from 9dff6a3bb595 to bfb211914759 (4 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/9dff6a3bb595..bfb211914759

2020-11-30 aeubanks@google.com Fix swiftshader_reactor_llvm_unittests under UBSan Vptr
2020-11-30 srisser@google.com Accept Sign/Zero Extend operands in OpImageRead
2020-11-30 srisser@google.com Implement shaderSubgroupBroadcastDynamicId
2020-11-30 bclayton@google.com SpirvShaderDebugger: Fix crash when attempting to display nullptrs

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 westont@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/+doc/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: westont@google.com
Change-Id: Ide4303ebcebe9f06eace0a526f5c3256fd4f52b2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339358
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-12-01 05:02:02 +00:00
skia-autoroll
0607219d1c Roll Dawn from d8bb0bb7c735 to a827aa2c29aa (9 revisions)
https://dawn.googlesource.com/dawn.git/+log/d8bb0bb7c735..a827aa2c29aa

2020-12-01 shaobo.yan@intel.com CopyTextureForBrowser: Use large triangle to avoid arithmetic precision
2020-11-30 cwallez@chromium.org Roll glslang and shaderc
2020-11-30 enga@chromium.org Update RenderPassLoadOpTests to use WGSL
2020-11-30 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from aa212ee81f71 to eac3c5bf5197 (1 revision)
2020-11-30 enga@chromium.org Update ScissorTests to use WGSL
2020-11-30 enga@chromium.org Update DepthStencilCopyTests to use WGSL
2020-11-30 enga@chromium.org Update ObjectCachingTests to use WGSL
2020-11-30 jiawei.shao@intel.com Use FilterMode::Nearest in TextureFormatSamplingTests
2020-11-30 jiawei.shao@intel.com Skip two MultisampledRenderingTest tests on D3D12 with debug layer

Also rolling transitive DEPS:
  https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang from 4dcc12d1a441 to 4d41da3b810b
  https://chromium.googlesource.com/external/github.com/google/shaderc from 011139094ec7 to 6216d098d8ab

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 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/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: dsinclair@google.com
Change-Id: I35aae93e77c6da76afccc52c42dadaba31202eef
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339215
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-12-01 04:40:32 +00:00
Ben Wagner
416fe32ce1 Ensure variable font from data created at default.
If font data is used to create an SkTypeface and the font data describes
a variable font and no variation parameters are specified, the
SkTypeface created should have the default values for all axes. This is
particularaly interesting with DirectWrite since it makes this not
straight forward.

Bug: skia:10929
Cq-Include-Trybots: luci.skia.skia.primary:Test-Win10-Clang-NUC5i7RYH-CPU-AVX2-x86_64-Debug-All-NativeFonts
Change-Id: I4620deebf52142bbdffa1a283343b503cd1e6981
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338604
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
2020-12-01 00:30:22 +00:00
Tyler Denniston
4c6f57a23e [svg] Use new code path for rest of presentation attrs
This is another necessary step in order to remove kInherit from all of
the base SVG type enums.

Change-Id: I2185e744f7b27369f7bad36591f896d3a9982b42
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335817
Commit-Queue: Tyler Denniston <tdenniston@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2020-11-30 21:27:04 +00:00
Brian Salomon
70fe17e12f Remove GrRenderTargetContextPriv and GrSurfaceContextPriv
I think this is vestigial from some time in the past where RTC was
public.

Also just expose the methods that add ops rather than have so many
friends + testingOnly versions.

Change-Id: I60d9fdff23b2d67039a7b37815da7ff9e73d8999
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339158
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2020-11-30 20:13:25 +00:00
Mike Reed
6affa2c2e3 move SkMipmapBuilder to private
Change-Id: I77f57b175984a5e373fae951a270a883e7e4c5d3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339216
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2020-11-30 20:13:15 +00:00
John Stiles
5b589fd273 Add test for returning arrays from functions.
Just filling in a gap in our tests. The output is a little strange as it
exposes a missed opportunity to constant-fold array accesses, but it
seems fine otherwise.

Change-Id: I6df13e0f9a49455015ceb47d7802bb5e1bbdaa1a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339217
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-11-30 19:38:05 +00:00
John Stiles
d7cc093f1f Fix ASAN error when inlining array constructor expressions.
Constructors such as `float[2](0, 0)` add a type to the symbol table;
this type needs to be copied into the new symbol table if the
constructor is cloned by the inliner.

Change-Id: Ifa8d2dec87103c6223ce493e2201a904c14c2137
Bug: oss-fuzz:28050
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339168
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-30 18:37:05 +00:00
John Stiles
74ff1d668f Fix ASAN error when inlining multi-dimensional arrays.
We had special-case logic for copying array types from one symbol table
to another while inlining, but it only considered single-dimensional
array types. Each added dimension in an array has its own type, and
each type needs to be copied.

This bug could be triggered by compiling shared/Functions.sksl with
ASAN enabled.

Change-Id: Ib99d1e3f44b5530c271a97f374ee1d6d5ecf295c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339167
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2020-11-30 18:18:45 +00:00
Robert Phillips
c4fbc8d6cf Stop overflow of windows rects in GrClipStack
Bug: skia:10989
Change-Id: I512ccbd3d95178756ae436f7c67ed53d46105ae7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339165
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2020-11-30 18:12:24 +00:00
John Stiles
fd41d878b1 Fix SPIR-V and Metal support for enum types.
SPIR-V previously didn't know what to think when it encountered a Type
with a typeKind of kEnum, and would abort. These are now treated as
32-bit signed integers.

Metal previously emitted the SkSL enum typename, which is meaningless to
Metal since we do not emit the enum itself anywhere. Metal now emits
"int" for an enum-typed variable.

(GLSL already correctly emits "int" for enum types.)

Change-Id: I05975a2a399f9c4a22c00c90be0dccacd99d793b
Bug: skia:11003
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338856
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2020-11-30 18:05:48 +00:00
John Stiles
21f5f450a4 Fix SPIR-V compilation error with arrays of samplers.
This CL addresses the root cause of the fuzzer issue, by checking for
LayoutIsSupported before getting the MemoryLayout of a type. However,
this array ought to be detected as an error everywhere, as samplers are
opaque types; at present, this code compiles without error in GLSL and
Metal. This is an issue for followup CLs.

GLSL's actual support for arrays of samplers is interesting and probably
too nuanced for us to try to emulate:

https://www.khronos.org/opengl/wiki/Data_Type_(GLSL)#Opaque_arrays

"Under GLSL version 3.30, Sampler arrays (the only opaque type 3.30
provides) can be declared, but they can only be accessed by compile-time
integral Constant Expressions. So you cannot loop over an array of
samplers, no matter what the array initializer, offset and comparison
expressions are.

Under GLSL 4.00 and above, array indices leading to an opaque value can
be accessed by non-compile-time constants, but these index values must
be dynamically uniform. The value of those indices must be the same
value, in the same execution order, regardless of any non-uniform
parameter values, for all shader invocations in the invocation group."

Change-Id: Ib382f5c3b563f996b3c8f1eb6b021b6d31fa9ce7
Bug: oss-fuzz:28107
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339159
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-11-30 17:28:14 +00:00
John Stiles
dc75a97b80 Add global struct definitions to SkSL.
Previously, GLSL and Metal code generators would emit a struct wherever
the type was first used in the code, regardless of where it was
originally defined or what scope the type needs to live in. This CL adds
a ProgramElement for struct definitions, so that structs will now appear
at the top-level as they were originally defined. In the case of Metal,
some special handling is also needed to handle the Globals struct
properly.

Not yet fully supported:
- No special handling for structs declared inside functions yet
- No support for structs in separate scopes with overlapping names
The severity of the remaining issues depends mostly on whether we want
to support structs inside functions in Runtime Effects.

Change-Id: Ia95d4529506cb3fa6da63f5cb548199a93e1c0c5
Bug: skia:10922, skia:10923, skia:10925, skia:10926
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338600
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-11-30 15:26:14 +00:00
John Stiles
ade695ea4a Add unit test for function dead-stripping.
This test verifies that dead-stripping works on both built-in and user
functions, if their function call is optimized away.

Change-Id: I3125a34640c69de43c383343cd00d97e5a32ac60
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338836
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-11-30 15:16:44 +00:00
John Stiles
712fd6bbb9 Add support for enums in Metal code generator.
Enums are an SkSL-only concept--when we output code, we emit plain
IntLiterals--so the fix is simply to ignore the Enum program element
when we encounter it. This is what GLSLCodeGen does as well.

Also added a unit test to confirm that enums work normally, and that
enums are subject to optimization and static-comparison checks just as
ints would be.

Change-Id: Ic4f8da7a27983add9eb41b936d46f6638d22bd4b
Bug: skia:11003
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338800
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-11-30 15:14:34 +00:00
John Stiles
ba067aa72b Migrate dedicated SPIR-V tests to golden outputs.
There were a surprisingly small number of dedicated SPIR-V tests.
SkSLSPIRVBadOffset was the only test that didn't already exist in the
golden outputs, although it actually contained two tests.

The SPIRVTest.cpp file has been converted to SPIRVTestbed.cpp, which can
be used for local debugging of SPIR-V issues via dm (like GLSLTestbed
and MetalTestbed).

Change-Id: I978d8a7cf5735af7f537113d2b9411ce42cfcf88
Bug: skia:10694
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338756
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-11-30 15:05:54 +00:00
John Stiles
d6449e9291 Remove ^^ operator from Metal codegen.
^^ is not an operator in Metal. != can be used for the same purpose.

Change-Id: If75b000076ebe0aa81d0ab354a8ae33e6ed52101
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339156
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2020-11-30 14:57:54 +00:00
Mike Reed
a35fcd6881 Don't force linear when extracting miplevel
Sorta introduced here: https://skia-review.googlesource.com/c/skia/+/338318

When we switched the controller from filter-quality to sampling, we
'continued' the old behavior of forcing bilerp when sampling a miplevel.
This matched the old enum, but the new code should respect whatever
fFilter the client has set.

Change-Id: I44bac879c1d3c880d8dbfac241e8511397de6641
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339117
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
2020-11-30 14:48:03 +00:00
Robert Phillips
ca92424e21 Remove SkBaseDevice::flush (take 2)
Another small step in removing SkCanvas::flush

Change-Id: I6f3bec367e582754b8463b7bfe6a2542436ca829
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/335647
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Adlai Holler <adlai@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2020-11-30 14:13:03 +00:00
skia-autoroll
77b68e8599 Roll Dawn from 4814bdbdeae4 to d8bb0bb7c735 (4 revisions)
https://dawn.googlesource.com/dawn.git/+log/4814bdbdeae4..d8bb0bb7c735

2020-11-28 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 456aad3bced0 to aa212ee81f71 (6 revisions)
2020-11-27 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 4e91325bf0c4 to 456aad3bced0 (16 revisions)
2020-11-27 cwallez@chromium.org Roll spirv-headers right before the ray tracing breakage.
2020-11-27 cwallez@chromium.org Roll vulkan-headers right before the ray tracing breakage.

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 enga@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/+doc/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: enga@google.com
Change-Id: Ief83ac18d0b2952098975ed8dde8a8f6decb8975
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339080
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-30 05:15:52 +00:00
skia-autoroll
9e8f092e89 Roll ANGLE from fcb6b5a5c55e to 59aa1ef1975a (5 revisions)
fcb6b5a5c5..59aa1ef197

2020-11-27 ynovikov@chromium.org Suppress TextureSampleShadingTest.Basic on Vulkan AMD
2020-11-27 syoussefi@chromium.org Vulkan: Remove vk:: inside namespace vk
2020-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 43bb60e1fa11 to 9dff6a3bb595 (1 revision)
2020-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 1835944edcfa to 8756b1cb930a (1 revision)
2020-11-27 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 730f0fe9e50a to 553b5bcd72c7 (214 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 westont@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/+doc/master/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: westont@google.com
Change-Id: I6d0fdb15b1ed2f110b98a038c03638f32d17fac4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339079
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-30 04:52:12 +00:00
skia-recreate-skps
9682673286 Update SKP version
Automatic commit by the RecreateSKPs bot.

TBR=rmistry@google.com
NO_MERGE_BUILDS

Change-Id: I687da6ceb8b7e61b1bd5cfb24cc1a777ab2657ed
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339096
Reviewed-by: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Commit-Queue: <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2020-11-29 06:32:41 +00:00
skia-autoroll
3f522b2688 Roll ANGLE from 5850c748b480 to fcb6b5a5c55e (8 revisions)
5850c748b4..fcb6b5a5c5

2020-11-26 syoussefi@chromium.org Vulkan: Fix precision transformation for geometry shaders
2020-11-26 syoussefi@chromium.org Vulkan: Implement multisampled incomplete textures
2020-11-26 jmadill@chromium.org More cleanups to run_code_generation.
2020-11-26 syoussefi@chromium.org Vulkan: Experimentally enable geometry shaders
2020-11-26 aleino@nvidia.com Vulkan: Work around Nvidia depth clamping bug
2020-11-26 syoussefi@chromium.org Vulkan: Move SPIR-V generators to base transformer class
2020-11-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from fc78e93ce895 to 1835944edcfa (9 revisions)
2020-11-26 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 4b04564d4cb2 to 730f0fe9e50a (373 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 michaelludwig@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/+doc/master/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: michaelludwig@google.com
Change-Id: I098ba4466a3aa30d55441f0ca692394082ce970a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338997
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-27 05:00:49 +00:00
skia-autoroll
32422be454 Roll SwiftShader from 43bb60e1fa11 to 9dff6a3bb595 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/43bb60e1fa11..9dff6a3bb595

2020-11-26 rharrison@chromium.org Roll SPIRV-Headers and SPIRV-Tools

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 michaelludwig@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/+doc/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Test-Debian10-Clang-GCE-GPU-SwiftShader-x86_64-Debug-All-SwiftShader
Bug: None
Tbr: michaelludwig@google.com
Change-Id: I2c5bb3ca35547c02a15982b8bd32d11175592b9b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338996
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-27 04:46:09 +00:00
skia-autoroll
f7013186ac Roll Dawn from 9175f00eec91 to 4814bdbdeae4 (24 revisions)
https://dawn.googlesource.com/dawn.git/+log/9175f00eec91..4814bdbdeae4

2020-11-26 cwallez@chromium.org Port most of the samples to WGSL
2020-11-26 enga@chromium.org Update RenderPassTests to use WGSL
2020-11-26 enga@chromium.org Update RenderBundleTests to use WGSL
2020-11-26 enga@chromium.org Update IndexFormatTests to use WGSL
2020-11-26 cwallez@chromium.org Port BindGroupValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port GetBindGroupLayoutValidationTests to WGSL
2020-11-26 enga@chromium.org Update DestroyTests to use WGSL
2020-11-26 enga@chromium.org Update SamplerTests to use WGSL
2020-11-26 cwallez@chromium.org Partially port StorageTextureValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port RenderPipelineValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port VertexBufferValidationTests to WGSL
2020-11-26 enga@chromium.org Update DeviceLostTests to use WGSL
2020-11-26 enga@chromium.org Update TextureSubresourceTests to use WGSL
2020-11-26 enga@chromium.org Update IOSurfaceWrappingTests to use WGSL
2020-11-26 enga@chromium.org Update Draw(Indexed)?(Indirect)?Tests to use WGSL
2020-11-26 cwallez@chromium.org Port ComputeIndirectValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port ResourceUsageTrackingTests to WGSL
2020-11-26 enga@chromium.org Update SwapChainValidationTests to use WGSL
2020-11-26 cwallez@chromium.org Port VertexStateValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port DrawIndirectValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port ShaderModuleValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port UnsafeAPIValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port IndexBufferValidationTests to WGSL
2020-11-26 cwallez@chromium.org Port RenderBundleValidationTests to WGSL

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 enga@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/+doc/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: enga@google.com
Change-Id: I9a753bf58901f2fa87c90bdcaaba4d5cc6a26e18
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338998
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-27 04:39:49 +00:00
Mike Reed
103078751e restore identity check
Needed to pass assumptions in cc_unittests.

Bug: skia:11004
Change-Id: Ie70ab06908c24f88a72c6a0e07033e1be4f6a7cf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338936
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2020-11-27 02:56:49 +00:00
skia-autoroll
48a99420a2 Roll ANGLE from 130597e10299 to 5850c748b480 (15 revisions)
130597e102..5850c748b4

2020-11-26 syoussefi@chromium.org Vulkan: Emulated RGB copies in compute
2020-11-26 syoussefi@chromium.org Add a sample shading test to verify FS invocation per sample
2020-11-26 syoussefi@chromium.org Vulkan: Pass in emulated alpha value to ConvertVertex
2020-11-25 syoussefi@chromium.org Vulkan: Enable OES_shader_multisample_interpolation
2020-11-25 syoussefi@chromium.org Fix RedGreenGradient to not output 0 for half the image
2020-11-25 geofflang@google.com Add test coverage of sampling YUV AHBs without API 29.
2020-11-25 geofflang@google.com GL: Treat RGBA+HALF_FLOAT IOSurfaces as sized formats.
2020-11-25 jmadill@chromium.org EGL: Auto-generate Windows .def file.
2020-11-25 jmadill@chromium.org EGL: Auto-generate "libEGL" export cpp file.
2020-11-25 jmadill@chromium.org Skip Occlusion query tests on Metal.
2020-11-25 jmadill@chromium.org Fix auto-generated export file comment.
2020-11-25 jmadill@chromium.org EGL: Auto-generate entry point headers.
2020-11-25 xinghua.cao@intel.com D3D: Fix wrong visit mode
2020-11-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 31f74e1a4605 to fc78e93ce895 (10 revisions)
2020-11-25 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 013c962f863f to 4b04564d4cb2 (410 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 michaelludwig@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/+doc/master/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: michaelludwig@google.com
Change-Id: I56ff5c45dd4d11e62611dbf5aee586812e4a603b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338743
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-26 04:57:48 +00:00
skia-autoroll
61a3933774 Roll Dawn from 33f29ea9b251 to 9175f00eec91 (8 revisions)
https://dawn.googlesource.com/dawn.git/+log/33f29ea9b251..9175f00eec91

2020-11-26 enga@chromium.org Update WGSL vertex_idx i32 -> u32
2020-11-25 enga@chromium.org Unify WGSL syntax to put stage decoration on same line
2020-11-25 dawn-autoroll@skia-public.iam.gserviceaccount.com Roll Tint from 12ed862c7ef2 to 4e91325bf0c4 (3 revisions)
2020-11-25 senorblanco@chromium.org Enable testing on GLES backend.
2020-11-25 cwallez@chromium.org dawn_native: Make CreateView's descriptor default to nullptr
2020-11-25 cwallez@chromium.org Improve the dynamic binding OOB error message when binding.size is defaulted.
2020-11-25 cwallez@chromium.org Remove deprecated BindGroupLayout options.
2020-11-25 cwallez@chromium.org Remove deprecated SetIndexBuffer (without format).

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 enga@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/+doc/master/autoroll/README.md

Cq-Include-Trybots: skia/skia.primary:Build-Debian10-Clang-x86_64-Debug-Dawn
Bug: None
Tbr: enga@google.com
Change-Id: I5282448f61147f3f8c1d9abca68119b7ca16cb15
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338744
Reviewed-by: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: skia-autoroll <skia-autoroll@skia-public.iam.gserviceaccount.com>
2020-11-26 04:39:08 +00:00