Commit Graph

3205 Commits

Author SHA1 Message Date
Corentin Wallez ad879f520d Remove the ConvertTimestampToNanoseconds toggle.
It was used to avoid requiring the dependency on Tint so it isn't needed
anymore now that Dawn unconditionally dependent on Tint.

Bug: dawn:686
Bug: dawn:706
Change-Id: Ifd12c2f94fcaaa70120ae7ef72bcdc34f970fbea
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46004
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-31 19:31:42 +00:00
Corentin Wallez 50f995851d DeviceBase: Make object creation use ResultOrError<Ref<T>>
This is in preparation for a change that will change all the
CreateFooInternal to be CreateFoo so they can be called in a
reentrant manner without special refcounting.

This also standardizes all the backends (except OpenGL and Null)
to use Object::Create that returns a Ref<T> or ResultOrError<Ref<T>>,
something we wanted to do for a long time.

Bug: dawn:723

Change-Id: I9e0baced333ffeb0affbc6a276c9bd9de082263a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46440
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-31 18:36:32 +00:00
Corentin Wallez 7ef8633593 Reassign some TODOs to a new bug for OpenGL buffer OOM
Bug: dawn:27
Bug: dawn:749
TBR=senorblanco@chromium.org

Change-Id: I1f9093f443bc28be08738fd3ff230b14ce0a55a4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46447
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2021-03-31 17:54:00 +00:00
Yunchao He 3db31ef757 Move T2B copy helpers for D3D12 backend to UtilsD3D12.h|cpp
Its counterpart functions (B2T copy helpers) are already at UtilsD3D12.

BUG: dawn:547

Change-Id: Ib9b9216e0b182429ab9bd9aa10241d7ca6cdee5b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46420
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
2021-03-31 17:23:30 +00:00
Corentin Wallez 79c9d125f2 Propagate more errors from reentrant calls
This CL propagates errors from reentrant WriteBuffer calls and makes
procy methods on BufferBase to show that it is safe to call
GetMappedRange and Unmap without handling errors.

Bug: dawn:723
Change-Id: I4ea43adc4844505314bf84e2357b2d928f1d1f8c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46003
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-31 11:24:42 +00:00
Dawn Autoroller 348806be74 Roll Tint from 02571d15e8 to 55bc5409c2 (7 revisions)
https://dawn.googlesource.com/tint.git/+log/02571d15e882..55bc5409c297

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
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

Bug: None
Tbr: enga@google.com
Change-Id: I33592e7e67c6844f8c270b38d4a764b21ab83e72
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46421
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-31 11:21:12 +00:00
Brandon Jones 7f77cfd7cf Implement validation for RenderPipelineDescriptor2
In the service of keeping these changes incremental and easier to
review this change only validates the RenderPipelineDescriptor2
before converting it back to a RenderPipelineDescriptor.

BUG: dawn:642
Change-Id: Ie24c999756fa74f7d3cd10662a6bc95649602b14
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46120
Auto-Submit: Brandon Jones <bajones@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-31 08:56:02 +00:00
Hao Li 864a364742 Suppress OcclusionQueryTests.QueryWithScissorTest on Intel
This case is failed weirdly on Intel TGL (Window Vulkan) which says the
destination buffer keep sentinel value in the second case, it cannot be
reproduced with any debug actions including Vulkan validation layers
enabled, and takes time to find out if the WriteBuffer and
ResolveQuerySet are not executed in order or the ResolveQuerySet does
not copy the results to the buffer. In order to integrate end2end tests
to Intel driver CL without unknown issues, skip it until we find the
root cause.

Bug:dawn:434

Change-Id: Ibdba667cb662ba69c8468d5b2ac2e84bcd3df5bc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46321
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Hao Li <hao.x.li@intel.com>
2021-03-31 01:22:02 +00:00
Ben Clayton e40553b940 ShaderModuleD3D12: Remap binding points
Using the new tint::transform::BindingRemapper.

Provides symmetry with TranslateToHLSLWithSPIRVCross().

Bug: tint:621
Bug: tint:671
Change-Id: I1a26c8cac236ac1133c688cf84bb810e15e30978
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46341
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-30 22:53:13 +00:00
Ben Clayton 78fdaa4eeb Disable SlantedPlaneMipmap for D3D12 + tint
Bug: tint:691
Change-Id: Ic002bdc1955724fb26d16b7f63712bd77febc67c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46377
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 20:30:37 +00:00
Ben Clayton 318ec2e893 Disable test for D3D12 + tint which use runtime sized arrays
Bug: tint:682
Change-Id: I254e0a4b02dd9348daab096e6fc16d9a004c527e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46369
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 20:14:07 +00:00
Ryan Harrison 1523d4cf18 Add using Tint for binding reflection
BUG=dawn:700

Change-Id: I5234d48867b500aece79b82515818afdfc3a6d9a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45100
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 19:55:27 +00:00
Ben Clayton 17941e1562 Disable BindGroupTests for D3D12 + tint
Bug: tint:681
Change-Id: I5cca1889d2ba26503530ead922278172e5e98ccf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46368
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 18:54:07 +00:00
Stephen White 41974270c9 Roll third_party/angle/ 0c9f22d3a..9a025fd44 (23 commits)
0c9f22d3a7..9a025fd448

$ git log 0c9f22d3a..9a025fd44 --date=short --no-merges --format='%ad %ae %s'
2021-03-13 jmadill Capture/Replay: add frontend feature to force capture limits
2021-03-15 gert.wollny libAngle: Add Json context serializer library
2021-03-17 lubosz.sarnecki context: Remove endl, since INFO already adds them.
2021-03-05 lubosz.sarnecki capture_replay_expectations: Don't skip passing.
2021-03-26 angle-autoroll Roll SwiftShader from 8969f861fc24 to fb53aa2bb7da (2 revisions)
2021-03-09 lubosz.sarnecki capture_gles_3_2: Set read buffer for glGetPointerv.
2021-03-26 angle-autoroll Roll vulkan-deps from 3f4383f1d450 to 7079d8df17da (2 revisions)
2021-03-26 angle-autoroll Roll Chromium from 7a30f2f0e630 to e0abc3035c46 (431 revisions)
2021-03-04 lubosz.sarnecki capture_gles_1_0: Implement capture functions.
2021-03-25 ynovikov Remove old Win x86 bots from CQ
2021-02-26 syoussefi Vulkan: Call glslang at compile time
2021-03-25 jmadill Trace Tests: Work around autoninja.bat change on Win.
2021-03-24 m.maiya Vulkan: Enable glBlitFramebuffer for EXT_sRGB_write_control
2021-03-25 angle-autoroll Roll vulkan-deps from 91a2a0b15f23 to 3f4383f1d450 (26 revisions)
2021-03-25 angle-autoroll Roll SwiftShader from a98fb3f8380a to 8969f861fc24 (2 revisions)
2021-03-25 angle-autoroll Roll Chromium from bda1e3894abc to 7a30f2f0e630 (468 revisions)
2021-03-24 ynovikov Leave Android devices in portrait orientation after test
2021-03-22 cclao Vulkan: Add A few other *-None-04584 VVL error to skip list
2021-03-20 senorblanco SSBO handling rewrite.
2021-03-22 doughorn Fix potential mod by 0 with invalid formats.
2021-03-24 jmadill Disable Framebuffer Fetch test.
2021-03-24 m.maiya Add missing qualifier type handling in translator
2021-03-24 cnorthrop Scripts: Ignore robin_hood headers in VVL

Created with:
  roll-dep third_party/angle

Change-Id: Ia3ac661d66abe7530087401c966a85b45c3356e9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46300
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2021-03-30 17:59:37 +00:00
Ben Clayton 25d3f252a6 ComputeSharedMemoryTests: Add missing access qualifier
https://gpuweb.github.io/gpuweb/wgsl.html#variables:

> "Variables in the storage storage class and variables with a storage texture type must have an access attribute applied to the store type."

Bug: tint:692
Change-Id: I61774bb6bda9a7d31e3a85c24fcdb6e2fc25e7b1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46378
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:37:07 +00:00
Ben Clayton 5da990b0a4 Disable SampledAndWriteonlyStorageTexturePingPong for D3D12 + tint
Bug: tint:690
Change-Id: If3bdba33f843885c7e056b68b361d890a7a58c04
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46376
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:29:37 +00:00
Ben Clayton eef7a6a58c Disable tests for D3D12 + tint that fail due 'undeclared identifier'
Bug: tint:688
Change-Id: Ic1f0fbd6da112557711595eae38b5d034bbe594b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46374
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:23:27 +00:00
Ben Clayton 682d764e85 Disable TextureFormatTest for D3D12 + tint
Bug: tint:689
Change-Id: Ib006a2e726078426cd00479c35d47eecf9b3d601
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46375
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:21:07 +00:00
Ben Clayton 1894d5d83a Disable SizedArrayOfStruct tests for D3D12 + tint
Bug: tint:683
Change-Id: I55c513108cb5c8e14bd72bb8dd3177afff353623
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46370
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:08:07 +00:00
Ben Clayton 1bcfdce243 Disable MultipleWriteThenMultipleReadTests for D3D12 + tint
Bug: tint:686
Change-Id: Iaca48aa7fb4cddbc008d66a248d01a6e4d36f5ea
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46372
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:05:17 +00:00
Ben Clayton 9421afc46f Disable VertexFormatTest for D3D12 + tint
Bug: tint:687
Change-Id: Ib839f629ea4095c007c1a8b3f9ad490c1e9e4910
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46373
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 16:00:57 +00:00
Ben Clayton 51d81c1d56 Disable DepthStencilSamplingTest for D3D12 + tint
Bug: tint:684
Change-Id: Iff76442349da1a399c7460a1a6ce047229b0ab88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46371
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 15:44:07 +00:00
Ben Clayton ed73e6f51e Disable TimestampComputeShader test on D3D12 + WARP + Validation
Bug: dawn:741
Change-Id: I5ee730e4f7b0e9041373bfe9ecc1be3b2535a775
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46367
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 15:23:37 +00:00
Ben Clayton 9ef74c56fd Disable EncodeUBOOverflowMultipleSubmit test on D3D12 + WARP
Bug: dawn:742
Change-Id: I11fc4c49c4040d694703ed43ebd8b1e2fe62bf17
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46366
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 15:22:17 +00:00
Ben Clayton 74879450c5 Disable SlantedPlaneMipmap test on D3D12 + WARP
Bug: dawn:740
Change-Id: I127c7698cf9103ef85dafe44c5dc5781ccea031d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46365
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 15:21:37 +00:00
Ben Clayton d48c5ed77c Disable SwitchedViewHeapResidency test on D3D12 + WARP + Validation
Bug: dawn:739
Change-Id: I56f17f75bd2e5a12d90c6875817d980cb98d3e01
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46364
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 15:19:37 +00:00
Ben Clayton 2922d8d603 Skip ClearTwiceInD3D12ReadbackInD3D11 for WARP + validation
Bug: dawn:735
Change-Id: I26d06528aebb4f2c2a391d65ab8a16ef1e6e01f7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46360
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 13:23:27 +00:00
Ben Clayton fed33fa18a Disable ArbitraryBindingNumbers on D3D12 + WARP
Bug: dawn:736
Change-Id: I3402dee42c71a88160667ea8ea00b43734441741
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46361
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 13:15:27 +00:00
Ben Clayton 47a8cf3410 Disable MultisampledRenderingTest tests on D3D12 + WARP
Bug: dawn:738
Change-Id: I208d9851f14c25f16a97382953150eba7f4667b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46363
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 13:13:17 +00:00
Aleksi Sapon 7f8c91cdde Fix crash from async callback calling Queue::Submit
An async callback which calls Queue::Submit will cause
reentrance in QueueBase::Tick and CreatePipelineAsyncTracker::Tick,
which invalidates the task queue being used by the original call,
and leads to a crash from an invalid pointer.

The Tick functions should remove the tasks from the queues before
the callbacks are called, so invalidation doesn't cause a crash.

Bug: dawn:729

Change-Id: I0d952d51040a3d1a475767400de3333a8b9b0821
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45900
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-30 13:06:17 +00:00
Ben Clayton 98028718e1 Disable DepthStencilStateTest tests on D3D12 + WARP
Bug: dawn:737
Change-Id: I55d22ad54fe3983bbae67572a428d01a64e634e3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46362
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-30 12:55:17 +00:00
Ben Clayton 955146e9ac Skip ColorStateTest.* for D3D12 and WARP
These don't pass.

Bug: dawn:489
Change-Id: Ic9a5f34bc3325326d2c6217e82d75633ff0a7534
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46344
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-30 12:05:47 +00:00
Ben Clayton 8d57426a80 Skip ClearInD3D12ReadbackInD3D11 for WARP + validation
Bug: dawn:735
Change-Id: I5731e198f6888bf6ad7d244a54053b917a277e4a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46343
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2021-03-30 11:53:07 +00:00
Dawn Autoroller bc2fbe6a3c Roll Tint from 01ac3dd917 to 02571d15e8 (6 revisions)
https://dawn.googlesource.com/tint.git/+log/01ac3dd9176d..02571d15e882

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
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

Bug: None
Tbr: enga@google.com
Change-Id: Ib23b4e78b532bffb446a0b96c6da5b0ad848e9a8
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46322
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-30 10:35:37 +00:00
Corentin Wallez 1bc1ed4bc9 Propagate errors from Tick in backend::Queue::SubmitImpl
Otherwise errors in Tick could cause the device to be lost and further
processing in Queue::SubmitImpl to fail in interesting ways.

Bug: dawn:723
Bug: chromium:1191777
Change-Id: I586c6b0f97c89938b9e7deeb6f31231ec19e826c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46002
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-30 10:21:36 +00:00
Dawn Autoroller d7d98509da Roll Tint from 9ef17472e8 to 01ac3dd917 (1 revision)
https://dawn.googlesource.com/tint.git/+log/9ef17472e871..01ac3dd9176d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
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

Bug: None
Tbr: enga@google.com
Change-Id: I1f3bc9b183a7dccf30a3702d0a8ba27fccd4f9aa
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46280
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-29 16:00:56 +00:00
Corentin Wallez e91975c79e dawn_native: Use an internal GetQueue that doesn't add a ref
Previously various places in dawn_native were using Device::GetQueue to
get the queue for some operations, and were inadvertently adding a
reference to the queue. Fix this by adding a getter that doesn't add a
ref.

Bug: dawn:723
Bug: chromium:1185070
Change-Id: Iba127dbd631305762f4cc6c37816407056c52cff
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46001
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-29 15:40:55 +00:00
Corentin Wallez 2ce4b905b2 dawn_native: Prefix all API methods with API
This means that calling wgpu::Object::DoStuff will translate to a call
to dawn_native::ObjectBase::APIDoStuff. This will clarify the
difference between reentrant calls and internal calls in dawn_native.
Avoiding issues in the future.

This CL only changes the code generator to prefix with "API", performs
renames needed to make the code compile, and adds TODOs for things that
should be fixed in follow-up CLs.

Bug: dawn:723

Change-Id: Ie24471fa093adc4179d33d13323429847d076ecb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45921
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-29 14:02:05 +00:00
Dawn Autoroller b745df8537 Roll Tint from cea744d558 to 9ef17472e8 (5 revisions)
https://dawn.googlesource.com/tint.git/+log/cea744d55887..9ef17472e871

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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

Bug: None
Tbr: bclayton@google.com
Change-Id: I3ed41def656d05e53b77e0eb7cd3157a37a03c96
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46200
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-26 21:04:45 +00:00
Corentin Wallez 1257152485 Use RefCounted for DeviceBase
DeviceBase implemented its own Reference / Release methods for
historical reasons. Replace them with RefCounted's version that are
similar, just more thread safe.

Bug: dawn:723
Change-Id: Ib26f3e231eb12fe09612c8b5639576e2f26a3cfd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46000
Commit-Queue: Stephen White <senorblanco@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2021-03-25 23:50:24 +00:00
Bryan Bernhart 1a232448d2 D3D12: Remove WrapSharedHandle
Removes WrapSharedHandle in favor of using
ExternalImageDXGI.

BUG=dawn:625

Change-Id: Ibd469600959aea344e7a59557d986fc673a79727
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46020
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.com>
2021-03-25 21:31:34 +00:00
Dawn Autoroller d9b56a02c5 Roll Tint from 5c9906e307 to cea744d558 (2 revisions)
https://dawn.googlesource.com/tint.git/+log/5c9906e3079f..cea744d55887

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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

Bug: None
Tbr: bclayton@google.com
Change-Id: I9af8664e04190557b00a530694f4766c25281fae
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46080
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-25 20:25:24 +00:00
Brandon Jones 37ad44eef2 Allow Dawn to surface Tint internal compiler errors as uncaptured validation errors
Raises any ICE errors reported by Tint during shader validation as uncaptured
validation errors. This allows them to show up in Chrome's dev tools console, for
example.

BUG: dawn:718
Change-Id: I85741787103e6c1174b7c73be6b9860b988d6130
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45840
Reviewed-by: Ben Clayton <headlessclayton@gmail.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2021-03-25 15:37:44 +00:00
Corentin Wallez 6d0438c21e Add documentation for the codegen.
Also does small cleanups in dawn.json

Bug: None
Change-Id: Icbe8c9370496fa63fdd32b43d4f7a0666acf71c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45920
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-03-24 20:29:42 +00:00
Stephen White ee820ca7c2 Roll third_party/angle/ d8557cc88..0c9f22d3a (162 commits)
d8557cc88f..0c9f22d3a7

$ git log d8557cc88..0c9f22d3a --date=short --no-merges --format='%ad %ae %s'
2021-03-24 angle-autoroll Roll Chromium from f1617b736428 to bda1e3894abc (469 revisions)
2021-03-18 amy.liu Compression of the data from vkGetPipelineCacheData.
2021-03-23 xiaoxuan.liu Vulkan: Fix gl_SamplePosition XY-flip and rotation.
2021-03-23 reveman [Fuchsia] Add ifndefs to vulkan_fuchsia_ext.h
2021-03-09 syoussefi Vulkan: Use VK_EXT_multisampled_render_to_single_sampled
2021-03-22 ianelliott Update ANGLEWrangling.md with Hotlist-Wrangler
2021-03-22 rafael.cintron Enable D3D11 debug names in ANGLE release builds
2021-03-22 penghuang Disable timestamp queries for Mali-G31 and older GPUs
2021-03-23 jmadill Revert "Save/Load missing members"
2021-03-22 jmadill Vulkan: Rename Uniforms/XFB descriptor desc.
2021-03-23 angle-autoroll Roll Chromium from 3eced2421f5a to f1617b736428 (473 revisions)
2021-03-19 cnorthrop Tests: Add Real Cricket 20 trace
2021-03-22 ianelliott Fix copyright dates of new test files per Shabi
2021-03-08 cclao Vulkan: Add test for filament gltf usage case
2021-03-17 timvp Save/Load missing members
2021-03-19 cnorthrop Tests: Add android log library to traces
2021-03-17 timvp Reorder ShaderVariable functions and members
2021-03-19 m.maiya Handle inactive structure type varyings correctly
2021-03-19 m.maiya Vulkan: Handle compilation error involving gl_InvocationID
2021-03-19 cclao Vulkan: Rename onImageHelperRelease to finalizeImageLayout
2021-03-18 jmadill Vulkan: More cleanups to perf counters.
2021-03-21 cnorthrop Tests: Add Avakin Life - 3D Virtual World trace
2021-03-18 cheryl.wei Skip ResizeWindow test on Linux.
2021-03-20 m.maiya Vulkan: Don't acquire new BufferHelper for external buffers
2021-03-22 angle-autoroll Roll Chromium from c33e21cce932 to 3eced2421f5a (477 revisions)
2021-03-19 ianelliott Add multi-thread/context test for compute shaders
2021-03-19 capn Disable EGL_EXT_buffer_age for SwiftShader Vulkan
2021-03-17 cclao Vulkan: Add VUID-vkCmdDraw-None-04584 validation error to ignore list
2021-03-08 cclao Vulkan: Track images used for both attachment and sampler
2021-03-18 m.maiya Add isYUV to angle::Format
2021-03-08 cclao Vulkan: Defer color image layout changes at endRenderPass time
2021-03-15 geofflang D3D: Mark images dirty after recovering from storage
2021-03-19 angle-autoroll Roll vulkan-deps from 6ea3512e6349 to 91a2a0b15f23 (6 revisions)
2021-03-19 angle-autoroll Roll Chromium from e7ef5f7d0368 to c33e21cce932 (451 revisions)
2021-03-17 cnorthrop Tests: Add Ragnarok M: Eternal Love trace
2021-03-15 jiajia.qin Fix the assert error and inbalence parens for SSBO
2021-03-18 jmadill Vulkan: Use packed enum map for descriptor set index.
2021-03-18 jmadill Vulkan: Clean up shader buffer DS allocation.
2021-03-08 cclao Vulkan: Move CommandBufferHelper::reset() closer to constructor
2021-03-08 cclao Vulkan: Test render and sample the same texture but with different LOD
2021-03-17 gert.wollny scripts: Ignore "rapidsjon/..." when checking includes
2021-03-18 angle-autoroll Roll Chromium from 60fea25f23e6 to e7ef5f7d0368 (472 revisions)
2021-03-18 angle-autoroll Roll vulkan-deps from 105af117f053 to 6ea3512e6349 (13 revisions)
2021-03-17 jdarpinian Fix immutable texture base level validation
2021-03-12 cnorthrop Tests: Add June's Journey trace
2021-03-12 jmadill Use bitset masks for active shader buffers.
2021-03-08 m.maiya Reland "Vulkan: Support EXT_sRGB_write_control"
2021-03-16 syoussefi Vulkan: Fix missing dirty bits for compute
2021-03-17 angle-autoroll Roll SwiftShader from 69b79eec6533 to a98fb3f8380a (2 revisions)
2021-03-03 xiaoxuan.liu Reland "Add support for Linux GPU info with Vulkan backend"
(...)
2021-03-05 ianelliott Work-around eglSwapBuffersWithDamageKHR() bug
2021-03-08 jmadill Allow graceful no-error failure in CastStateValues.
2021-03-04 penghuang Reland "Fix bindFramebuffer problem with GLES2 devices"
2021-03-03 penghuang Reland "Fix two issues with GLES2 devices"
2021-03-09 penghuang Revert "Vulkan: Support EXT_sRGB_write_control"
2021-03-09 penghuang Revert "Fix bindFramebuffer problem with GLES2 devices"
2021-03-09 penghuang Revert "Fix two issues with GLES2 devices"
2021-03-09 angle-autoroll Roll SwiftShader from de7d5775ab25 to 023914a27b63 (2 revisions)
2021-03-09 angle-autoroll Roll vulkan-deps from 6691fcec0bce to 32692e5de307 (12 revisions)
2021-03-04 penghuang Disable worker contexts on Android emulator
2021-03-08 ynovikov Further suppress tests failing on Ozone.
2021-03-04 penghuang Fix bindFramebuffer problem with GLES2 devices
2021-03-06 lexa.knyazev Metal: Enable iOS pixel formats on macOS 11
2021-03-08 m.maiya Vulkan: Support EXT_sRGB_write_control
2021-03-04 penghuang Fix two GL_OES_texture_half_float related problems with GLES2
2021-03-05 ynovikov Add Win x86 chromium.angle bots to CQ
2021-03-03 penghuang Fix two issues with GLES2 devices
2021-03-07 lexa.knyazev Fix PVRTC1 frontend validation
2021-03-02 m.maiya Handle nullptr in GetQueryObjectParameter()
2021-03-08 angle-autoroll Roll SwiftShader from 6846389f25ca to de7d5775ab25 (1 revision)
2020-10-13 lexa.knyazev Metal: Implement OES_draw_buffers_indexed
2021-03-06 angle-autoroll Roll VK-GL-CTS from a9c07acc33bc to c4e6dbe68e04 (15 revisions)
2021-03-05 ynovikov Skip tests failing on Ozone.
2021-03-06 angle-autoroll Roll VK-GL-CTS from 9be79728eafb to a9c07acc33bc (6 revisions)
2021-03-05 angle-autoroll Roll Chromium from e3e89758c942 to 76f6150ffdeb (205 revisions)
2021-03-05 angle-autoroll Roll VK-GL-CTS from 9cdde06fb38a to 9be79728eafb (18 revisions)
2021-03-05 ynovikov Skip vulkan_car_parking_multiplayer on Win Intel
2021-03-05 ynovikov Skip CopyTextureVariationsTest failing on Ozone
2021-03-05 Amy.Liu Revert "Compression of the data from vkGetPipelineCacheData."
2021-03-05 lexa.knyazev Fix Apple GPU detection for M1
2021-03-04 lubosz.sarnecki capture_replay_tests: Don't skip tests that pass.
2021-02-27 syoussefi Vulkan: Keep dynamic buffer's free list trimmed
2021-03-05 angle-autoroll Roll vulkan-deps from c0db6ae3d87d to 6691fcec0bce (2 revisions)
2021-03-05 angle-autoroll Roll SwiftShader from 084529f3a9b9 to 6846389f25ca (1 revision)
2021-03-05 angle-autoroll Roll Chromium from 143c12daa39f to e3e89758c942 (782 revisions)
2021-02-27 m.maiya Add FramebufferAttachmentPerfTest
2021-03-04 enga Revert "Add support for Linux GPU info with Vulkan backend"
2021-03-02 m.maiya Vulkan: Unmap buffer when adding to mBufferFreeList
2021-03-01 natsu Vulkan: Enable EGL_ANDROID_recordable for EGL configs on SwiftShader
2021-03-04 jmadill infra/config: Rename console/list views.
2021-02-25 syoussefi Translator: Rename GLSL to SPIR-V in Vulkan and Metal output
2021-03-02 ynovikov Suppress UNINSTANTIATED_PARAMETERIZED_TEST failures on Ozone
2021-03-03 xiaoxuan.liu Add support for Linux GPU info with Vulkan backend
2021-03-02 lexa.knyazev Partially upgrade codegen to Python 3
2021-03-03 ynovikov Replace Win x64 dEQP GPU.FYI bots with chromium.angle bots
2021-03-04 angle-autoroll Roll SwiftShader from 106e01583a3a to 084529f3a9b9 (1 revision)
2021-03-04 angle-autoroll Roll vulkan-deps from 6c3f8d8c39b9 to c0db6ae3d87d (6 revisions)
2021-03-03 syoussefi Vulkan: Fix overlay graph widgets
2021-03-02 syoussefi Vulkan: Fix Overlay for prerotation
2021-03-02 syoussefi Vulkan: Workaround Overlay draw issue on Android

Created with:
  roll-dep third_party/angle

Change-Id: Ifb50462ee7be965e1bac8c377ef021614da56402
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45862
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2021-03-24 19:56:43 +00:00
Dawn Autoroller ca7166ba8b Roll Tint from 84ef13c84f to 5c9906e307 (3 revisions)
https://dawn.googlesource.com/tint.git/+log/84ef13c84fb3..5c9906e3079f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/tint-dawn
Please CC bclayton@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

Bug: None
Tbr: bclayton@google.com
Change-Id: I5cb4bd2003ef9236094884062204fc73e4f38be1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45960
Reviewed-by: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2021-03-24 19:48:33 +00:00
Ryan Harrison 9138fe253b Add test to confirm validation rejects invalid WGSL
BUG=dawn:504

Change-Id: If09b12d4df9c7aedcb28b4640557cc3cae6e989d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45700
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-24 19:39:33 +00:00
Corentin Wallez 60ca94ba10 Pull buildtools DEPS directly instead of via recursedeps
Bug: chromium:1177288

Includes the following rolls:

Rolling 3 dependencies

Roll build/ 6fa63e6b1..ea192b29d (300 commits)

6fa63e6b15..ea192b29d2

$ git log 6fa63e6b1..ea192b29d --date=short --no-merges --format='%ad %ae %s'
2021-03-23 aeubanks Use --gcc-toolchain instead of -B to find libgcc
2021-03-23 chromium-autoroll Roll Fuchsia SDK from 3.20210322.3.1 to 3.20210323.0.1
2021-03-23 yhirano Revert "Reland "Add test directory -> monorail component metadata to test invocations.""
2021-03-23 dpranke Reland "Add test directory -> monorail component metadata to test invocations."
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210322.1.1 to 3.20210322.3.1
2021-03-22 sdefresne [apple] Split the iOS and macOS toolchain definitions
2021-03-22 mthiesse Tighten Instrumentation timeouts to avoid shard timeouts.
2021-03-22 wnwen Android: Fix FragmentActivityReplacer stack frame
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210322.0.1 to 3.20210322.1.1
2021-03-22 chromium-autoroll Roll Fuchsia SDK from 3.20210321.0.1 to 3.20210322.0.1
2021-03-22 msta Add the ability to enable pseudolocales to chromium
2021-03-21 chromium-autoroll Roll Fuchsia SDK from 3.20210320.3.1 to 3.20210321.0.1
2021-03-21 chromium-autoroll Roll Fuchsia SDK from 3.20210320.1.1 to 3.20210320.3.1
2021-03-21 pkotwicz [Build] Support public_deps in java_library()
2021-03-20 chromium-autoroll Roll Fuchsia SDK from 3.20210320.0.1 to 3.20210320.1.1
2021-03-20 chromium-autoroll Roll Fuchsia SDK from 3.20210319.2.1 to 3.20210320.0.1
2021-03-19 chromium-autoroll Roll Fuchsia SDK from 3.20210318.1.1 to 3.20210319.2.1
2021-03-19 sergeyu [Fuchsia] Fix build_system_archive.py for Python3
2021-03-19 omerlevran Revert "[fuchsia] migrate device discovery to ffx"
2021-03-19 pkotwicz Remove unused OnDeviceInstrumentationDriver
2021-03-19 dpranke Fix a couple of mac build issues for Python3.9 compat.
2021-03-19 omerlevran [fuchsia] migrate device discovery to ffx
2021-03-18 steveroe [fuchsia] Write binary size package blob data to json file.
2021-03-18 wnwen Android: Update r8 to 3.0.28-dev
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210318.0.1 to 3.20210318.1.1
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210317.3.1 to 3.20210318.0.1
2021-03-18 findit-for-me Revert "Enable pseudolocales on non-official builds"
2021-03-18 msta Enable pseudolocales on non-official builds
2021-03-18 steveroe [fuchsia] Remove binary_sizes.py recipe interface code.
2021-03-18 chromium-autoroll Roll Fuchsia SDK from 3.20210317.1.1 to 3.20210317.3.1
2021-03-18 ehmaldonado Add auto rollers as OWNERS of the files they touch
2021-03-18 kmarshall [fuchsia] Delegate target construction to class level methods.
2021-03-17 wnwen Android: Add --dump-inputs to dex.py
2021-03-17 bjoyce Upload results of all test runs to result_db.
2021-03-17 mheikal Ignore empty proguard config files when writing expectations.
2021-03-17 chromium-autoroll Roll Fuchsia SDK from 3.20210317.0.1 to 3.20210317.1.1
2021-03-17 hans [build] Pass --rtlib=libgcc in Android builds
2021-03-17 ortuno Revert "Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1."
2021-03-17 chromium-autoroll Roll Fuchsia SDK from 3.20210316.2.1 to 3.20210317.0.1
2021-03-16 rubensf [reclient] Add use_rbe where we have use_goma.
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210316.1.1 to 3.20210316.2.1
2021-03-16 sdefresne [ios] Fix compilation of cronet
2021-03-16 thakis mac: Make win/cross build work when use_system_xcode is not explicitly set
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210315.1.1 to 3.20210316.1.1
2021-03-16 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1.
2021-03-16 sdefresne [apple] Split definitions of mac and ios toolchains
2021-03-16 chromium-autoroll Roll Fuchsia SDK from 3.20210315.0.1 to 3.20210315.1.1
2021-03-16 pkotwicz [Build] Introduce GN variable for whether Java asserts are enabled
2021-03-15 ukai disable goma for x86_64-nacl-{gcc|g++}
2021-03-15 aeubanks Use LLVM's new pass manager on Android
(...)
2021-02-13 pkotwicz [Build] Switch androidx dependencies to use //third_party/androidx
2021-02-12 chromium-autoroll Roll Fuchsia SDK from 0.20210212.1.1 to 0.20210212.2.1
2021-02-12 tikuta build: do not use fdebug-compiation-dir in coverage build
2021-02-12 chromium-autoroll Roll Fuchsia SDK from 0.20210210.2.1 to 0.20210212.1.1
2021-02-12 akhuang [clang build] Disable PCH on Windows builds temporarily to unbreak ToT windows buildbots
2021-02-11 bjoyce [code-coverage] Combine code coverage profraw files locally.
2021-02-11 bpastene Install cpython on CrOS DUTs/VMs when running net_unittests.
2021-02-11 agrieve Android: Remove ProductConfig.COMPRESSED_LOCALES
2021-02-11 mheikal Add the ability to output keep rules between subsets of inputs.
2021-02-11 hans [build] Disable ThinLTO in PGO-instrumented builds on Windows
2021-02-11 chromium-autoroll Roll Fuchsia SDK from 0.20210210.1.1 to 0.20210210.2.1
2021-02-11 ynovikov Partially enable logcats for Android isolated scripts
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210210.0.1 to 0.20210210.1.1
2021-02-10 kimstephanie Pass bucket name to goldctl
2021-02-10 hans [build] Include libstdc++.so.6 with llvm-symbolizer also for chromeos and android
2021-02-10 agl Mention FragmentActivityReplacer if indicated.
2021-02-10 heiserya Update perf tester build targets to deploy Chrome and Lacros to DUTs.
2021-02-10 agrieve Android: Tweak target names FOO_process_device -> FOO__process_device
2021-02-10 yfriedman [Flaky Tests] Android: don't re-run Batched unit tests
2021-02-10 wbielawski Fix chrome_public_apk build that utilizes python 3.
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210209.2.2 to 0.20210210.0.1
2021-02-10 hans Reland "[build] Enable ThinLTO in official Windows builds"
2021-02-10 thakis win toolchain: Remove win8 sdk support, move toolchain hash to top
2021-02-10 chromium-autoroll Roll Fuchsia SDK from 0.20210209.0.1 to 0.20210209.2.2
2021-02-09 bpastene chromeos: Support --gtest_filter arg when running Tast tests.
2021-02-09 jkop Revert "[build] Enable ThinLTO in official Windows builds"
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210208.3.1 to 0.20210209.0.1
2021-02-09 wnwen Android: Improve fast local dev build server
2021-02-09 rnk Reland "Roll src/buildtools/third_party/libc++/trunk/ d9040c75c..69897abe2 (1149 commits)"
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210208.2.1 to 0.20210208.3.1
2021-02-09 thakis win: Use /winsysroot when using clang and the hermetic win toolchain.
2021-02-09 yucliu Fix use_custom_libcxx_for_host when host and target CPU are identical
2021-02-09 chromium-autoroll Roll Fuchsia SDK from 0.20210205.1.1 to 0.20210208.2.1
2021-02-08 hans [build] Enable ThinLTO in official Windows builds
2021-02-08 hans [build] Hoist import_instr_limit variable (take 2)
2021-02-08 drott Revert "[build] Hoist import_instr_limit variable"
2021-02-08 hans [build] Hoist import_instr_limit variable
2021-02-08 sdefresne [ios] Mark variables as "used"
2021-02-05 hans [build] Unify ThinLTO -import-instr-limit= between Android and Linux+Win
2021-02-05 hans Increase the ThinLTO cache size.
2021-02-05 sdefresne [ios] Improve performance of `gn gen` by 80%
2021-02-05 ythjkt Reland "Lacros: Flip OS_LINUX and OS_CHROMEOS on lacros."
2021-02-05 chromium-autoroll Roll Fuchsia SDK from 0.20210204.3.1 to 0.20210205.1.1
2021-02-05 aeubanks Roll clang llvmorg-12-init-17251-g6de48655-1 : llvmorg-13-init-794-g83e2710e-1.
2021-02-05 brucedawson Repackaged toolchain with Windows Kits\10 paths
2021-02-05 chromium-autoroll Roll Fuchsia SDK from 0.20210204.1.1 to 0.20210204.3.1
2021-02-04 alemate Add GN build-time option to support apitrace on Chrome OS
2021-02-04 agrieve Android: Delete main_dex_list.py and negative_main_dex_globs
2021-02-04 chromium-autoroll Roll Fuchsia SDK from 0.20210204.0.1 to 0.20210204.1.1
2021-02-04 ychoi Move //chrome/browser/{chromeos => ash}/profiles

Roll buildtools/ fc5af1ac7..69cc9b8a3 (33 commits; 3 trivial rolls)

fc5af1ac75..69cc9b8a3a

$ git log fc5af1ac7..69cc9b8a3 --date=short --no-merges --format='%ad %ae %s'
2021-03-12 yahan [Build] Build libc++ with gcc need libs atomic
2021-03-12 ukai [reclient] add rewrapper_windows_nacl.cfg
2021-03-11 yahan Revert "[Build] Build libc++ with gcc need libs atomic"
2021-03-09 yahan [Build] Build libc++ with gcc need libs atomic
2021-03-09 thakis Remove buildtools/DEPS
2021-03-09 thakis Remove gn from buildtools/DEPS
2021-03-09 rubensf [reclient] Match windows server addr to linux server addr.
2021-03-06 thakis buildtools: remove clang_format from buildtools/DEPS
2021-03-04 thakis Update a comment after #859627
2021-03-04 thakis buildtools: remove libc++ from buildtools/DEPS
2021-03-03 rubensf [reclient] Add re client windows configs.
2021-03-03 thakis Temporarily move clang_format_revision back to clang_fmt_revision
2021-03-03 thakis Remove ensure_gn_version hook
2021-03-03 thakis Minor DEPS file gardening
2021-03-02 thakis buildtools: remove libc++abi from buildtools/DEPS
2021-02-26 thakis Roll src/buildtools/third_party/libc++abi/trunk/ 5fb4080bf..6918862bf (1 commit)
2021-02-26 thakis Remove reclient from buildtools/DEPS
2021-02-25 msavigny Update reclient version to 0.22.0
2021-02-24 jam Update documentation to allow owners of public APIs that are used throughout the codebase to Owners-Override changes across the source tree.
2021-02-24 thakis Reland "Roll src/buildtools/third_party/libc++abi/trunk/ 196ba1aaa..5fb4080bf (222 commits)"
2021-02-24 yekuang Upgrading to re-client version 0.21.0.04acc59
2021-02-23 thakis Make sure to build libc++abi without -fsanitize=vptr.
2021-02-22 thakis buildtools: Remove libunwind from buildtools/DEPS
2021-02-22 findit-for-me Revert "Roll src/buildtools/third_party/libc++abi/trunk/ 196ba1aaa..5fb4080bf (222 commits)"
2021-02-16 rubensf [reclient] Add nacl toolchain config to reclient
2021-02-12 sdefresne Reland "Roll GN from 55ad154c..dfcbc6fe"
2021-02-11 olaola Upgrading to re-client version 0.20.1.c4bbd2f
2021-02-09 rogerta Revert "Roll GN from 55ad154c..dfcbc6fe"
2021-02-09 sdefresne Roll GN from 55ad154c..dfcbc6fe
2021-02-09 rnk Reland "Roll src/buildtools/third_party/libc++/trunk/ d9040c75c..69897abe2 (1149 commits)"

Roll tools/clang/ aecd85e06..24cecabb8 (51 commits)

aecd85e062..24cecabb89

$ git log aecd85e06..24cecabb8 --date=short --no-merges --format='%ad %ae %s'
2021-03-20 chonggu [Fuchsia] Build Fuchsia runtime on Fuchsia ToT bots
2021-03-19 mmoss Revert "[Fuchsia] Build Fuchsia runtime on ToT bots"
2021-03-19 chonggu [Fuchsia] Add --with-fuchsia flag for clang
2021-03-18 chonggu [Fuchsia] Build Fuchsia runtime on ToT bots
2021-03-18 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4720-g7bafe336-1.
2021-03-18 keishi Fix rewrite-multiple-platforms.sh to avoid ~
2021-03-17 dpapad Remove NTP Kaleidoscope feature leftovers.
2021-03-17 ortuno Revert "Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1."
2021-03-16 hans Roll clang llvmorg-13-init-3462-gfe5c2c3c-2 : llvmorg-13-init-4330-g08a5277a-1.
2021-03-16 keishi Add a rewrite_raw_ptr_fields rewrite script for multiple platforms
2021-03-14 aeubanks Revert "Build clang with stable clang"
2021-03-14 aeubanks Build clang with stable clang
2021-03-11 hans Pass --rtlib=libgcc to Clang when building Android sanitizer runtimes
2021-03-10 hans Build Clang with -DCLANG_DEFAULT_RTLIB=libgcc on Linux
2021-03-09 aeubanks Add llvm-nm and llvm-strip to Linux Clang package
2021-03-05 thakis [mac/lld] update things for new lld being the default lld now, and update docs
2021-03-05 thakis Roll clang llvmorg-13-init-1559-g01b87444-3 : llvmorg-13-init-3462-gfe5c2c3c-1.
2021-03-04 ynovikov Remove ANGLE "pinned Chromium" bots from WebGL and Clang rolls
2021-03-04 keishi Treat CheckedPtr specially in FindBadConstructsConsumer
2021-03-03 ynovikov Remove usages of obsolete Win ANGLE x64 bots
2021-02-25 aeubanks Build Clang on Windows with ThinLTO
2021-02-25 lukasza Replace machine-specific test expectations with machine-agnostic ones.
2021-02-24 thakis Revert "Treat CheckedPtr specially in FindBadConstructsConsumer"
2021-02-24 bartekn Add bartekn and his team to rewrite.sh OWNERS
2021-02-24 keishi Treat CheckedPtr specially in FindBadConstructsConsumer
2021-02-23 thakis Remove some references to the LLVM_FORCE_HEAD_REVISION env var
2021-02-22 aeubanks Add flag to specify build directory
2021-02-18 bartekn rewrite.sh should overwrite combined-fields-to-ignore.txt
2021-02-18 bartekn Remove CheckedPtr2/MTECheckedPtr related exclusions
2021-02-17 keishi Force rewrite base::FileDescriptorWatcher::Controller::watcher_ in rewrite_raw_ptr_fields
2021-02-17 keishi Exclude OutOfMemoryTest::value_ from rewrite_raw_ptr_fields
2021-02-17 chonggu Manually update clang.
2021-02-17 bartekn [BRP] Move the GigaCage DCHECKs into checked_ptr.cc
2021-02-17 chonggu [Fuchsia] Create/Reorganize documentation for Fuchsia
2021-02-17 keishi Exclude new checked_ptr.h dependencies from rewrite_raw_ptr_fields
2021-02-16 chonggu [Fuchsia] Build Fuchsia profile runtime
2021-02-14 thakis Roll clang llvmorg-13-init-794-g83e2710e-1 : llvmorg-13-init-1559-g01b87444-1.
2021-02-13 aeubanks Remove obsolete argument
2021-02-12 aeubanks Don't build instrumented build with ThinLTO
2021-02-12 thakis Revert "clang build script: omit libc++ tests on mac again after #852778"
2021-02-11 thakis clang build script: omit libc++ tests on mac again after #852778
2021-02-11 lukasza Avoid inserting new includes when the previous line is a doc comment.
2021-02-10 akhuang [build.py] Fix path for copying libstdc++ to test directories
2021-02-10 thakis clang build script: run check-all during bootstrap on mac
2021-02-10 bartekn Update CheckedPtr ignore lists (fields and paths)
2021-02-09 yutak rewrite_raw_ptr_fields: Follow upstream CommonOptionsParser change.
2021-02-09 akhuang [build.py] Add sanitizer_common tests to the list of places we copy libstdc++ because of a test that moves llvm-symbolizer around
2021-02-05 aeubanks Remove some remnants from the 12 -> 13 transition
2021-02-05 aeubanks Roll clang llvmorg-12-init-17251-g6de48655-1 : llvmorg-13-init-794-g83e2710e-1.
2021-02-04 bartekn [PA][BRP] Adjust pointer before checking belonging to GigaCage
2021-02-04 omerkatz heap: Roll clang for cppgc updates

Created with:
  roll-dep build buildtools tools/clang

Change-Id: Ia1abedb6374eda26f6ccf84c4ddeff65d0da0c86
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45606
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-24 16:22:32 +00:00
Corentin Wallez 9037669b2e Remove the dependency on shaderc and glslang.
With all tests converted to WGSL we only use shaderc to assemble SPIRV
assembly to binary. shaderc requires glslang but we don't use it at all.
By using SPIRV-Tools directly to assemble SPIR-V, we can remove both the
shaderc and glslang dependencies.

Bug: dawn:572
Bug: chromium:1150045
Change-Id: I1588428dfb9478e7b724478bec662d002ee920e0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45765
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-03-24 16:02:13 +00:00
Corentin Wallez 7aec4ae7c5 Remove utility to create shader modules from GLSL
And rename CreateShaderModuleFromWGSL to CreateShaderModule.

Bug: dawn:572
Change-Id: I80dab401078b2001d738b87d6e24437f93b690d1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/45764
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
2021-03-24 15:55:32 +00:00