Commit Graph

1348 Commits

Author SHA1 Message Date
Jamie Nicol
9b9b862e65 Bug 1507074 - Update glslopt-rs to add support for GL_OES_EGL_image_external. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D108907
2021-03-18 18:31:25 +00:00
Kershaw Chang
f5610eabae Bug 1699463 - Update neqo to v0.4.23 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108961
2021-03-18 16:18:27 +00:00
Jan-Erik Rediger
e9bbd20895 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 11:21:27 +00:00
Narcis Beleuzu
e152e9b4ca Backed out 3 changesets (bug 1678567, bug 1698518) for bustages on common_test.rs CLOSED TREE
Backed out changeset b270383193ea (bug 1678567)
Backed out changeset eb1a98bea60f (bug 1698518)
Backed out changeset eb28c5405782 (bug 1698518)
2021-03-18 12:59:46 +02:00
Jan-Erik Rediger
98ed1c4f32 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 10:14:58 +00:00
Brindusan Cristian
58b5969968 Backed out 2 changesets (bug 1698438) for windows build bustages. CLOSED TREE
Backed out changeset a27e4101f65f (bug 1698438)
Backed out changeset 257f86638d46 (bug 1698438)
2021-03-17 14:52:27 +02:00
Kershaw Chang
cb78102ea6 Bug 1698438 - Neqo version 0.4.22 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108750
2021-03-17 12:15:54 +00:00
Dzmitry Malyshau
5249d3e499 Bug 1697509 - Fix WebGPU shaders and adapter limits r=jgilbert
Expose adapter limits, hook up spirv-cross

Differential Revision: https://phabricator.services.mozilla.com/D107840
2021-03-16 22:57:08 +00:00
Yury Delendik
2f5f62242f Bug 1693912 - Renumber SIMD instructions based on final spec. r=rhunt
Renumbers instructions based on final SIMD spec.

Removes I16x8AnyTrue / I32x4AnyTrue

Differential Revision: https://phabricator.services.mozilla.com/D105840
2021-03-12 17:23:54 +00:00
Emilio Cobos Álvarez
ba2a3835f3 Bug 1694671 - Downgrade rayon-core to 1.8.1, rayon to 1.4.1. r=jrmuizel
This should help us isolate what rayon changes could've caused this
stability issue on 32-bit windows.

Automatically generated with:

$ cargo update -p rayon --precise 1.4.1 && cargo update -p rayon-core --precise 1.8.1 && ./mach vendor rust

Differential Revision: https://phabricator.services.mozilla.com/D108045
2021-03-12 11:35:08 +00:00
Noemi Erli
ad66d64b34 Backed out changeset 689dd6a2949c (bug 1694671) for causing RustMozCrash crashes CLOSED TREE 2021-03-12 02:08:10 +02:00
Emilio Cobos Álvarez
73de425e8d Bug 1694671 - Downgrade rayon-core to 1.8.0, rayon to 1.4.0. r=jrmuizel
This should help us isolate what rayon changes could've caused this
stability issue on 32-bit windows.

Automatically generated with:

$ cargo update -p rayon --precise 1.4.0 && cargo update -p rayon-core --precise 1.8.0 && ./mach vendor rust

Differential Revision: https://phabricator.services.mozilla.com/D108045
2021-03-11 18:23:14 +00:00
Emilio Cobos Álvarez
d2b2c7b5e6 Bug 1697847 - Update crossbeam-utils in the tree. r=firefox-build-system-reviewers,mhentges,sheehan
We're already vendoring 0.8 so no reason not to do this. We're still
held back by an ancient tokio version, which I filed bug 1697845 for.

There are no breaking changes that affect any of our internal consumers.

Differential Revision: https://phabricator.services.mozilla.com/D108046
2021-03-11 18:15:44 +00:00
Jon Bauman
f8f210ce59 Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D107702
2021-03-09 21:36:31 +00:00
M. Sirringhaus
bcaf9b7cc1 Bug 1695646 - minidump_writer_linux mapping merge logic wrong r=gsvelto
The logic missed a pair of brackets, leading to memory regions
being merged that shouldn't have been merged (anonymous regions
with access flags set getting merged into the previous mapping)

Differential Revision: https://phabricator.services.mozilla.com/D106772
2021-03-05 13:32:27 +00:00
Dzmitry Malyshau
27e5308381 Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
This is another WebGPU API update, it picks up a lot of changes that were made recently:
  - new bind group layout
  - new render pipeline descriptor
  - new vertex formats
  - limits
  - compressed texture formats
  - index format
  - query sets
  - and more small ones!

It also brings in the updated `gfx/wgpu` to support these API changes.

Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 21:25:46 +00:00
Brindusan Cristian
cae8a0ef30 Backed out changeset 0c0c723b0a0e (bug 1622846) for build bustages in Device.h. CLOSED TREE 2021-03-04 22:02:58 +02:00
Dzmitry Malyshau
65199ec16a Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
This is another WebGPU API update, it picks up a lot of changes that were made recently:
  - new bind group layout
  - new render pipeline descriptor
  - new vertex formats
  - limits
  - compressed texture formats
  - index format
  - query sets
  - and more small ones!

It also brings in the updated `gfx/wgpu` to support these API changes.

Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 17:48:28 +00:00
Mike Hommey
39a14165d0 Bug 1694318 - Remove the mozjs_sys rust crate. r=jandem
The mozjs_sys crate is actually responsible for all the problems
encountered with the js crate we just removed, but the sm-mozjs-crate
task that builds and runs tests for it doesn't fail because... there is
actually no test to build and run, so all it builds is a static library,
which doesn't expose all the problems that exist.

The content of this crate in mozilla-central is also outdated compared
to servo upstream.

Differential Revision: https://phabricator.services.mozilla.com/D106390
2021-03-02 08:09:35 +00:00
Mike Hommey
93e7a214c2 Bug 1694318 - Remove the js rust crate. r=jandem,sheehan
The sm-rust-bindings task that builds and runs tests for it actually only
doesn't fail by three(!) distinct happenstances of chance:
- It somehow doesn't hit a race condition that can happen, but that
  attempting to change the build process for jsglue.cpp did,
- The second call to `cargo test` without `--feature debugmozjs` only
  works because nothing was cleaned up from the first and the second
  build uses artifacts from the first that are otherwise not there if
  only running the second.
- The addition of rust code to spidermonkey (the jsrust crate in
  js/src/rust) somehow didsn't cause problems in the current
  configuration, but in other configurations (which fixing the second
  thing above unveils) the build fails because of the multiple
  definition of rust_eh_personality between the jsrust staticlib and the
  rust stdlib that rustc links to test programs.

On top of all the above, the content of the crate in mozilla-central
has not received updates from upstream servo in years, and doesn't
reflect what servo actually uses.

Differential Revision: https://phabricator.services.mozilla.com/D106389
2021-03-02 08:09:35 +00:00
Jon Bauman
4d56684865 Bug 1695464 - Update mp4parse-rust to ccbe4eb. r=bryce,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D106727
2021-03-01 21:23:35 +00:00
Matthew Gregan
9388fa1057 Bug 1694777 - Update audioipc to 8fb5ff19. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-25 03:02:18 +00:00
smolnar
f7be142901 Backed out changeset 98ce934ae615 (bug 1694777) for causing multiple failures in RustMozCrash. CLOSED TREE 2021-02-25 01:38:45 +02:00
Matthew Gregan
45b135164f Bug 1694777 - Update audioipc to a5fd9eef. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-24 22:22:40 +00:00
Chun-Min Chang
ace92a2b09 Bug 1692910 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D106252

Differential Revision: https://phabricator.services.mozilla.com/D106253
2021-02-24 15:59:53 +00:00
Matthew Gregan
00a601715e Bug 1693270 - Switch audioipc-2 to vendored code. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105453
2021-02-17 20:23:46 +00:00
Matthew Gregan
c7ff9a211c Bug 1689517 - mach vendor rust. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105446
2021-02-17 20:06:44 +00:00
M. Sirringhaus
1f377765b0 Bug 1666733 - Add error reporting to minidump generation (Linux) r=gsvelto
Linux only, as part of the oxidization effort (Bug 1620993) of breakpad.

Differential Revision: https://phabricator.services.mozilla.com/D103895
2021-02-10 10:05:37 +00:00
M. Sirringhaus
d4644353c1 Bug 1666733 - Rebase to latest upstream changes (ARM specific, which is still deactivated) r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D104537
2021-02-10 10:05:36 +00:00
Jeff Muizelaar
0abab2be63 Bug 1687536 - Move SWGL compositor into WebRender proper. r=lsalzman
This will let us use it from Wrench.

Differential Revision: https://phabricator.services.mozilla.com/D102343
2021-02-07 20:04:14 +00:00
Yury Delendik
cefacad6f0 Bug 1690817 - Update wat to 1.0.34 r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D104072
2021-02-05 02:31:10 +00:00
Jan-Erik Rediger
a141e81771 Bug 1690774 - Upgrade to Glean v34.1.0 to get a bugfix. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D104049
2021-02-04 13:21:52 +00:00
Chris H-C
a28d2450d7 Bug 1690106 - fog crate no longer depends on glean_core r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103832
2021-02-03 19:02:49 +00:00
Chris H-C
a09f369723 Bug 1690106 - Update Glean crates to v34 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103831
2021-02-03 19:02:33 +00:00
Tooru Fujisawa
ba4f83d4d6 Bug 1681624 - Update opcode for bug 1673553 and bug 1681272. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D103919
2021-02-03 16:45:02 +00:00
Jamie Nicol
abab286bf9 Bug 1689316 - Update glslopt to optimize shader switch statements in to fewer ifs. r=jrmuizel
We have encountered issues on some platforms due to a large number of
if statements in shaders. The shader optimizer previously generated
code with a large number of if statements, due to the way in which it
optimized switch statements.

Previously the optimizer output 2 if statements for every case in a
switch. First it ORs the "fallthrough" var with the case's
condition. Then sets the fallthrough var to false if the "break" var
is true. Then conditionally executes the case's instructions if
fallthrough is true. For example:

  switch (uMode) {
    case 0:
      gl_Position = vec4(0.0);
      break;
    case 1:
      gl_Position = vec4(1.0);
      break;
  }

becomes:

  bool break_var = bool(0);
  bool fallthrough_var = (0 == uMode);
  if (break_var) fallthrough_var = bool(0);
  if (fallthrough_var) {
    gl_Position = vec4(0.0, 0.0, 0.0, 0.0);
    break_var = bool(1);
  };
  fallthrough_var = (fallthrough_var || (1 == uMode));
  if (break_var) fallthrough_var = bool(0);
  if (fallthrough_var) {
    gl_Position = vec4(1.0, 1.0, 1.0, 1.0);
    break_var = bool(1);
  };

This update removes one of these ifs, by ANDing the fallthrough_var
with !break_var rather than conditionally setting it to false. eg:

  bool break_var = bool(0);
  bool fallthrough_var = (0 == uMode);
  if (fallthrough_var) {
    gl_Position = vec4(0.0, 0.0, 0.0, 0.0);
    break_var = bool(1);
  };
  fallthrough_var = (fallthrough_var || (1 == uMode));
  fallthrough_var = (fallthrough_var && !(break_var));
  if (fallthrough_var) {
    gl_Position = vec4(1.0, 1.0, 1.0, 1.0);
    break_var = bool(1);
  };

This is logically equivalent but uses half as many if statements,
which helps to avoid driver bugs on some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D103713
2021-02-01 21:14:15 +00:00
Julian Seward
ff3ceaf123 Bug 1689950 - Vendor in CL a25399760e9f12b679aa267dd2af7cfedc72bb71. Part 2: results of "mach vendor rust". r=yury.
Revendor CL to a25399760e9f12b679aa267dd2af7cfedc72bb71 from
https://github.com/mozilla-spidermonkey/wasmtime, branch firefox85.
This pulls in three code-correctness fixes that have accumulated in
the past month:
https://github.com/bytecodealliance/wasmtime/pull/{2548,2556,2559}.

Depends on D103672

Differential Revision: https://phabricator.services.mozilla.com/D103673
2021-02-01 16:20:01 +00:00
Xidorn Quan
1479c9d9e2 Bug 1687056 - Upgrade rkv to 0.17 and remove failure from rkv's dependent crates. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D102052
2021-01-29 12:58:00 +00:00
Bryce Seager van Dyk
7ce5240dfe Bug 1688784 - Bump mp4parse-rust version. r=jbauman,kinetik
Bumps version to
3011a2b923c8b0f1b392bcdd008cd8b95ffd846b

This is done to fix a bug where parsing bad metadata in the userdata (udta)
would be fatal when we should instead just fail the userdata.

This also updates some mp4parse-rust dependencies which results in some
removals.

Differential Revision: https://phabricator.services.mozilla.com/D102997
2021-01-27 21:01:24 +00:00
Xidorn Quan
ac3ecbadd3 Bug 1688439 - Update several Rust dependencies with known vulnerabilities reported by cargo audit. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D102850
2021-01-29 07:19:58 +00:00
M. Sirringhaus
5d4a325c23 Bug 1688882 - Always inform the main process that a minidump has been generated, even if it's incomplete r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D103041
2021-01-28 14:17:34 +00:00
Bogdan Tara
4535093154 Backed out changeset 924a3c191cdb (bug 1688784) for rust related windows bustage CLOSED TREE 2021-01-26 23:38:06 +02:00
Bryce Seager van Dyk
9bdd5b4443 Bug 1688784 - Bump mp4parse-rust version. r=jbauman,kinetik
Bumps version to
3011a2b923c8b0f1b392bcdd008cd8b95ffd846b

This is done to fix a bug where parsing bad metadata in the userdata (udta)
would be fatal when we should instead just fail the userdata.

This also updates some mp4parse-rust dependencies which results in some
removals.

Differential Revision: https://phabricator.services.mozilla.com/D102997
2021-01-26 19:10:46 +00:00
Dragana Damjanovic
deaef5512f Bug 1687787 - Neqo Version 0.4.21 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102970
2021-01-26 07:27:57 +00:00
Henri Sivonen
9b210c311e Bug 1686463 - Gather telemetry about automatic encoding detection outcomes. r=chutten,emk
Differential Revision: https://phabricator.services.mozilla.com/D102397
2021-01-24 00:11:07 +00:00
smolnar
24d0effbb0 Backed out 2 changesets (bug 1687787) for causing xpcshell failures in netwerk/test/unit/test_http3_large_post. CLOSED TREE
Backed out changeset 5ca2c2f951ce (bug 1687787)
Backed out changeset 48f23619ddb8 (bug 1687787)
2021-01-21 15:33:28 +02:00
Dragana Damjanovic
ef14d64551 Bug 1687787 - Neqo version 0.4.20 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102467
2021-01-21 11:40:52 +00:00
Lars T Hansen
bacaea238f Bug 1687654 - Update wat to 1.0.33. r=rhunt
Pull in a number of new SIMD opcodes, and a change from iNxM.any_true
to v128.any_true.  Plus whatever else has landed in the mean time...

Differential Revision: https://phabricator.services.mozilla.com/D102398
2021-01-20 17:35:23 +00:00
Nico Grunbaum
fba68a8e39 Bug 1687098 - Update WebRTC-SDP to version 0.3.8;r=drno
Differential Revision: https://phabricator.services.mozilla.com/D102110
2021-01-18 06:27:38 +00:00
Mike Hommey
dbc3d9867f Bug 1685697 - Hide the rustc output from autocfg. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D101861
2021-01-15 12:19:13 +00:00