Roll SwiftShader from 0915ab4bddf7 to bc0f663afc44 (8 revisions)

https://swiftshader.googlesource.com/SwiftShader.git/+log/0915ab4bddf7..bc0f663afc44

Please enable autosubmit on changes if possible when approving them.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-android
Please CC swiftshader-eng@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Test: Presubmit checks will test this change.
Exempt-From-Owner-Approval: The autoroll bot does not require owner approval.
Bug: b/158231104
Bug: b/165000222
Bug: b/169754022
Bug: b/169755552
Bug: b/204502118
Bug: b/204502920
Bug: b/218700092
Change-Id: I5714c4c8f95310ec83f032ed6d6b8c629051034f
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 3d9142e..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,24 +0,0 @@
-[submodule "third_party/cppdap"]
-	path = third_party/cppdap
-	url = https://github.com/google/cppdap
-[submodule "third_party/googletest"]
-	path = third_party/googletest
-	url = https://github.com/google/googletest.git
-[submodule "third_party/json"]
-	path = third_party/json
-	url = https://github.com/nlohmann/json.git
-[submodule "third_party/libbacktrace/src"]
-	path = third_party/libbacktrace/src
-	url = https://github.com/ianlancetaylor/libbacktrace.git
-[submodule "third_party/PowerVR_Examples"]
-	path = third_party/PowerVR_Examples
-	url = https://github.com/powervr-graphics/Native_SDK.git
-[submodule "third_party/benchmark"]
-	path = third_party/benchmark
-	url = https://github.com/google/benchmark.git
-[submodule "third_party/glslang"]
-	path = third_party/glslang
-	url = https://github.com/KhronosGroup/glslang.git
-[submodule "third_party/git-hooks"]
-	path = third_party/git-hooks
-	url = https://swiftshader.googlesource.com/git-hooks
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+  license_type: NOTICE
+}
diff --git a/README.google b/README.google
new file mode 100644
index 0000000..018cbb9
--- /dev/null
+++ b/README.google
@@ -0,0 +1,11 @@
+URL: https://swiftshader.googlesource.com/SwiftShader/+/cloud-android-current-release
+License: Apache License                            Version 2.0, January 2004
+License File: LICENSE.txt
+
+Description:
+SwiftShader is a high-performance CPU-based implementation of the OpenGL ES and
+Direct3D 9 graphics APIs12. Its goal is to provide hardware independence for
+advanced 3D graphics.
+
+Local Modifications:
+No Modifications
\ No newline at end of file
diff --git a/README.version b/README.version
new file mode 100644
index 0000000..8e9ab1c
--- /dev/null
+++ b/README.version
@@ -0,0 +1,3 @@
+URL: https://swiftshader.googlesource.com/SwiftShader
+BugComponent: 111604
+OWNERS: ghartman, nicolascapens, shannonwoods
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..e881d5d
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,7 @@
+{
+  "imports": [
+    {
+      "path": "cts/tests/tests/uirendering"
+    }
+  ]
+}
\ No newline at end of file
diff --git a/src/Android.bp b/src/Android.bp
index a2f8d8a..076940c 100644
--- a/src/Android.bp
+++ b/src/Android.bp
@@ -173,7 +173,7 @@
         "-DLOG_TAG=\"swiftshader\"",
         "-DSWIFTSHADER_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER",
         "-DSWIFTSHADER_ENABLE_ASTC",  // TODO(b/150130101)
-        //"-DSWIFTSHADER_DEVICE_MEMORY_REPORT",
+        "-DSWIFTSHADER_DEVICE_MEMORY_REPORT",
     ],
 
     srcs: [
diff --git a/third_party/PowerVR_Examples b/third_party/PowerVR_Examples
deleted file mode 160000
index 409c9d5..0000000
--- a/third_party/PowerVR_Examples
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 409c9d54fdaffe68565283e38dcbbe6c58535925
diff --git a/third_party/benchmark b/third_party/benchmark
deleted file mode 160000
index e5ea03c..0000000
--- a/third_party/benchmark
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e5ea03ce07997620980636b3ee7e6117d68bc6ad
diff --git a/third_party/cppdap b/third_party/cppdap
deleted file mode 160000
index 1fd23dd..0000000
--- a/third_party/cppdap
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 1fd23dda91e01550be1a421de307e6fedb2035a9
diff --git a/third_party/git-hooks b/third_party/git-hooks
deleted file mode 160000
index 604bb63..0000000
--- a/third_party/git-hooks
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 604bb63e05286883135ff0ab14b592ea50f3b404
diff --git a/third_party/glslang b/third_party/glslang
deleted file mode 160000
index 8111268..0000000
--- a/third_party/glslang
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 8111268575a41753dfb6f9afc40b7c096af769aa
diff --git a/third_party/googletest b/third_party/googletest
deleted file mode 160000
index 8ffb7e5..0000000
--- a/third_party/googletest
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 8ffb7e5c88b20a297a2e786c480556467496463b
diff --git a/third_party/json b/third_party/json
deleted file mode 160000
index ed55414..0000000
--- a/third_party/json
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit ed5541440a36bf7dc1a544f9a84fa3e5ae97b71f
diff --git a/third_party/libbacktrace/src b/third_party/libbacktrace/src
deleted file mode 160000
index 5a99ff7..0000000
--- a/third_party/libbacktrace/src
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 5a99ff7fed66b8ea8f09c9805c138524a7035ece
diff --git a/third_party/marl/.gitmodules b/third_party/marl/.gitmodules
deleted file mode 100644
index 335eee4..0000000
--- a/third_party/marl/.gitmodules
+++ /dev/null
@@ -1,6 +0,0 @@
-[submodule "third_party/googletest"]
-	path = third_party/googletest
-	url = https://github.com/google/googletest.git
-[submodule "third_party/benchmark"]
-	path = third_party/benchmark
-	url = https://github.com/google/benchmark.git