Bug 1760663 - Add blocklist support for WebGPU. r=gfx-reviewers,nical

This patch just adds the plumbing to allow for baked in blocklist rules
or the downloadable blocklist to prevent certain configurations from
getting WebGPU. It does not add any rules.

It also changes us from allowing WebGPU only in nightly, including
tests, to not release and not beta. This allows try to run the WebGPU
tests as expected, since even try builds forked from mozilla-central are
not considered nightly builds by CI (or so it seems).

Differential Revision: https://phabricator.services.mozilla.com/D141682
This commit is contained in:
Andrew Osmond
2022-03-22 15:22:39 +00:00
parent e2e35922f1
commit 1f65b6ffae
17 changed files with 45 additions and 36 deletions

View File

@@ -813,7 +813,6 @@ struct ParamTraits<mozilla::layers::CompositorOptions> {
WriteParam(aWriter, aParam.mUseSoftwareWebRender);
WriteParam(aWriter, aParam.mAllowSoftwareWebRenderD3D11);
WriteParam(aWriter, aParam.mAllowSoftwareWebRenderOGL);
WriteParam(aWriter, aParam.mUseWebGPU);
WriteParam(aWriter, aParam.mInitiallyPaused);
}
@@ -822,7 +821,6 @@ struct ParamTraits<mozilla::layers::CompositorOptions> {
ReadParam(aReader, &aResult->mUseSoftwareWebRender) &&
ReadParam(aReader, &aResult->mAllowSoftwareWebRenderD3D11) &&
ReadParam(aReader, &aResult->mAllowSoftwareWebRenderOGL) &&
ReadParam(aReader, &aResult->mUseWebGPU) &&
ReadParam(aReader, &aResult->mInitiallyPaused);
}
};