fune/gfx
Jamie Nicol f03cafb885 Bug 1816405 - Only print source of single shader when glslopt pass fails. r=gfx-reviewers,lsalzman
If the glslopt pass fails to optimize a shader, we helpfully print the
shader source so that it is easy to find what the problem is. However,
we print this from within the build_parallel call, meaning if multiple
shaders fail to optimize we print all of their sources and they get
interleaved with each other, making it very difficult to find the
problematic line.

This patch makes us delay printing the source until the same place
where we print the error log, after we have stopped processing in
parallel. This means we will only print the source of a single
shader (the first one which fails to optimize), along with the error
log for that shader, which is much easier to debug.

This also includes a small tidy-up to handle both vertex and fragment
shaders in a loop to remove code duplication, and runs rustfmt.

Differential Revision: https://phabricator.services.mozilla.com/D169618
2023-02-13 16:30:26 +00:00
..
2d Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
angle Bug 1812260: build(snap): re-apply forgotten cmath include in ANGLE codegen (sorry!) r=jgilbert,gfx-reviewers,nical 2023-01-25 19:45:10 +00:00
cairo Bug 1803059 - Remove obsolete patch files from gfx/cairo, and create patch files to record locally-applied fixes. r=gfx-reviewers,lsalzman DONTBUILD 2022-12-14 16:18:01 +00:00
config Bug 1816001 - allow users to disable mitigation for bug 1638709 r=gfx-reviewers,bradwerth,ahale 2023-02-11 00:31:49 +00:00
docs
gl Backed out 9 changesets (bug 1799258) for causing build bustages CLOSED TREE 2023-02-07 00:36:41 +02:00
graphite2 Bug 1802158 - Remove gfx/graphite2 dead C++ cluster 2. r=sylvestre 2022-11-30 16:14:08 +00:00
harfbuzz Bug 1814651 - Cherry-pick commit 85be877 from upstream harfbuzz. r=gfx-reviewers,jrmuizel 2023-02-02 18:43:54 +00:00
ipc Bug 1812938 - Part 1. GetWidgetScreen returns Screen instead of nsIScreen. r=emilio,geckoview-reviewers,owlish 2023-02-06 04:51:26 +00:00
layers Bug 1805851 - Add unit test for APZC::ArePointerEventsConsumable. r=dlrobertson 2023-02-13 16:26:09 +00:00
ots
qcms Backed out 9 changesets (bug 1799258) for causing build bustages CLOSED TREE 2023-02-07 00:36:41 +02:00
skia Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
src Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
tests Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
thebes Bug 1815679 - Fix errors in mapping font-style:oblique values to the 'slnt' axis in variable fonts. r=emilio 2023-02-10 09:11:01 +00:00
vr Bug 1809753 - Part 1: Remove quantum-dom nsIThread::EventTarget methods, r=mccr8 2023-01-16 23:14:10 +00:00
webrender_bindings Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,whimboo 2023-02-13 15:02:07 +00:00
wgpu_bindings Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,whimboo 2023-02-13 15:02:07 +00:00
wr Bug 1816405 - Only print source of single shader when glslopt pass fails. r=gfx-reviewers,lsalzman 2023-02-13 16:30:26 +00:00
ycbcr
metrics.yaml
moz.build