Skip to content

Commit

Permalink
Revert "Add workarounds for Mali-G72 GPU. (#3701)"
Browse files Browse the repository at this point in the history
This reverts commit 2fb765f.
  • Loading branch information
pmconne committed May 31, 2022
1 parent 2fb765f commit 48f0096
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 117 deletions.

This file was deleted.

5 changes: 1 addition & 4 deletions core/webgl-compatibility/src/Capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const buggyIntelMatchers = [
// Regexes to match Mali GPUs known to suffer from GraphicsDriverBugs.msaaWillHang.
const buggyMaliMatchers = [
/Mali-G71/,
/Mali-G72/,
/Mali-G76/,
];

Expand Down Expand Up @@ -249,7 +248,6 @@ export class Capabilities {
this._driverBugs = {};
if (unmaskedRenderer && buggyIntelMatchers.some((x) => x.test(unmaskedRenderer)))
this._driverBugs.fragDepthDoesNotDisableEarlyZ = true;

if (unmaskedRenderer && buggyMaliMatchers.some((x) => x.test(unmaskedRenderer)))
this._driverBugs.msaaWillHang = true;

Expand Down Expand Up @@ -296,8 +294,7 @@ export class Capabilities {
&& !ProcessDetector.isIOSBrowser
// Samsung Galaxy Note 8 exhibits same issue as described above for iOS >= 15.
// It uses specifically Mali-G71 MP20 but reports its renderer as follows.
// Samsung Galaxy A50 and S9 exhibits same issue; they use Mali-G72.
&& unmaskedRenderer !== "Mali-G71" && unmaskedRenderer !== "Mali-G72";
&& unmaskedRenderer !== "Mali-G71";

if (allowFloatRender && undefined !== this.queryExtensionObject("EXT_float_blend") && this.isTextureRenderable(gl, gl.FLOAT)) {
this._maxRenderType = RenderType.TextureFloat;
Expand Down
8 changes: 0 additions & 8 deletions core/webgl-compatibility/src/test/Compatibility.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,10 @@ describe("Render Compatibility", () => {

it("detects MSAA hang bug", () => {
const renderers = [
<<<<<<< HEAD
["Mali-G71", true],
["Mali-G76", true],
["ANGLE (Intel HD Graphics 620 Direct3D11 vs_5_0 ps_5_0)", false],
["Mali-G79", false],
=======
[ "Mali-G71", true ],
[ "Mali-G72", true ],
[ "Mali-G76", true ],
[ "ANGLE (Intel HD Graphics 620 Direct3D11 vs_5_0 ps_5_0)", false ],
[ "Mali-G79", false ],
>>>>>>> 67881e02f2 (Add workarounds for Mali-G72 GPU. (#3701))
];

for (const renderer of renderers) {
Expand Down
95 changes: 0 additions & 95 deletions tools/internal/scripts/rush/audit.js

This file was deleted.

0 comments on commit 48f0096

Please sign in to comment.