Bug 1874684 - Part 28: Return DateDuration from DifferenceISODateTime. r=mgaudet
[gecko.git] / gfx / angle / cherry_picks.txt
blob7669804f324f268c1e02b9aa5a66511ea57b7953
1 commit ddaf44ac75d5d0390873c2af193e02159ecbe672
2 Author: Geoff Lang <geofflang@chromium.org>
3 Date:   Fri Dec 8 13:20:36 2023 -0500
5     Validate Uniform variable limits with each iteration
6     
7     VariablePacker would loop over all variables and sum up the total
8     row counts before validating. Each variable can take hundreds of rows
9     so it is possible to overflow the counters before validating them.
10     
11     Validate the limits with each iteration and early-out when the limits
12     are exceeded.
13     
14     https://bugzilla.mozilla.org/show_bug.cgi?id=1864587
15     
16     Bug: chromium:1864587
17     Change-Id: Ic235ada1516a0d5a9948d82b22f6316a037c09ca
18     Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5106408
19     Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
20     Auto-Submit: Geoff Lang <geofflang@chromium.org>
21     Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
23 commit 6784271c1c6273a1be0b6a2dad9ac7b921521ad8
24 Author: Shahbaz Youssefi <syoussefi@chromium.org>
25 Date:   Tue Mar 28 11:43:23 2023 -0400
27     Translator: Limit the size of private variables in WebGL shaders
28     
29     As a follow up to
30     https://chromium-review.googlesource.com/c/angle/angle/+/3023033, the
31     limit to shader-private variables (locals and globals) is further
32     reduced to 1MB.  A variable that large will not fit in GPU registers and
33     will spill to memory, killing performance.
34     
35     Bug: chromium:1427865
36     Change-Id: I77314d4b891c591cd9a83ad2aebb77d7256f3ada
37     Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4377639
38     Reviewed-by: Kenneth Russell <kbr@chromium.org>
40 commit 23347851217a581f3b9d877af203a0dcc4b7b6e9
41 Author: Kelsey Gilbert <kelsey.gilbert@mozilla.com>
42 Date:   Wed Mar 29 16:13:39 2023 -0700
44     Add ShCompileOptions.initGLPointSize.
45     
46     Change-Id: I1d998867f3e829ed0dc8181fa76be5fe701dde70
48 commit aa3a569c8ddc1122d55663749a6db63e48b3033c
49 Author: Ashley Hale <ahale@mozilla.com>
50 Date:   Wed Mar 1 18:03:04 2023 -0800
52     Disable ClearView with scissor on Skylake iGPU because of observed bugs with edge corruption. (#27)
54 commit d93c05cd2d786f2c624fbf8f4465238b38a771a1
55 Author: Kelsey Gilbert <jgilbert@mozilla.com>
56 Date:   Thu Sep 8 17:10:21 2022 -0700
58     Import <cmath> in SymbolTable_ESSL_autogen.cpp.
59     
60     Fixes Snap builds of Firefox.
61     
62     Change-Id: I8d71d230d5e4a5a042e6afd4e31342da9a085bed
63     
64     Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
66 commit 0bf5781fddeb50d02b703dd89cc77b2c5f07e334
67 Author: Erich Gubler <erichdongubler@gmail.com>
68 Date:   Thu Jan 19 00:20:06 2023 -0500
70     build(linux): disable `PoolAlloc` to work around `asan` failures
71     
72     We noticed this causing problems in [Firefox CI][failing-ci].
73     
74     [failing-ci]: https://treeherder.mozilla.org/jobs?repo=autoland&author=egubler%40mozilla.com&selectedTaskRun=e6KdZgnNTCOE9weaOnTjVQ.0
76 commit ea4d354f6cfc83c31446a855f3fd5603737eae76
77 Author: Erich Gubler <erichdongubler@gmail.com>
78 Date:   Wed Nov 16 20:54:23 2022 -0500
80     fix(windows,pre-c++20): use default ctors for `std::atomic<angle::Mutex*>`
82 commit 9bcfaed62b60e210004217fd5e79c25f3e2b3760
83 Author: Jeff Gilbert <jdashg@gmail.com>
84 Date:   Thu Jul 15 15:56:45 2021 -0700
86     Add missing header to build config.
88 commit 16baec7195df362b9d615ccb7e5d51673501e10e
89 Author: Jeff Gilbert <jdashg@gmail.com>
90 Date:   Thu Feb 11 17:34:00 2021 -0800
92     Don't assert for non-sampleable non-ms sources in blitRenderbufferRect if we can CopySubResource.
93     
94     In Firefox, we can have a source from DirectComposition without
95     D3D11_BIND_SHADER_RESOURCE. This is fine so long as our formats etc
96     match enough to hit the CopySubResource path.
97     Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1692355
99 commit 43e9d9a7c95b509869a774fab62bf42d6d15b745
100 Author: Jeff Muizelaar <jrmuizel@gmail.com>
101 Date:   Wed May 6 14:04:42 2020 -0400
103     Don't use ClearView if we previously used dual source blending on Intel gen6. (#22)
104     
105     Doing a ClearView after a dual source blend seems to cause a TDR on
106     Intel SandyBridge. Presumeably this is because the ClearView is
107     implemented as a regular draw and the driver doesn't properly set up the
108     state.
109     
110     If we detect that this is going to happen we fall back to the manual
111     draw call path. This lets us use ClearView most of the time still.
113 commit b16ebaa05424354c06c2ccdccc36df2c7c1b191e
114 Author: Erich Gubler <erichdongubler@gmail.com>
115 Date:   Wed Nov 9 21:12:44 2022 -0500
117     Fix broken build from `-Wexit-time-destructors` on Windows x64
119 commit 4c3a473aec4e09ffacd0466817cb851529087767
120 Author: Dzmitry Malyshau <dmalyshau@mozilla.com>
121 Date:   Thu Dec 5 13:02:14 2019 -0500
123     Restrict the slow texture upload workaround to 128bit formats. (#21)
124     
125     The workaround is slow for having a CPU-visible mirror of the texture, but that mirror is not properly recycled with regards to GPU usage, thus causing a CPU stall on update.
126     
127     Original reports were related to WebRender vertex texture updates that are RGBA32F and RGBA32U formats. Limiting the workaround to these formats would allow the affected platforms to upload regular texture data faster without stalls.
128     
129     Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
131 Above: cherries picked
132 ================================================================================
133 Below: merge base from: origin/chromium/5359
135 commit ceec659ac60b0c8ee9d9c602ca1a878ec1d3a88f
136 Author: Shahbaz Youssefi <syoussefi@chromium.org>
137 Date:   Mon Oct 31 10:29:45 2022 -0400
139     M108: Vulkan: Disable logicOp dynamic state on Intel/Mesa
140     
141     Hits a stack overflow inside the driver.
142     
143     Bug: chromium:1379201
144     Change-Id: I790d7ef0333ba17eedbe91e4fc9c3a2b94563bff
145     Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4004440
146     Reviewed-by: Yuxin Hu <yuxinhu@google.com>