0023-ui-gl-enable-swiftshader-for-riscv64.patch 1005 B

12345678910111213141516171819202122232425
  1. From 186eddd3eeb35ebfb562124b1100f48b75e14a2b Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Fri, 17 Jun 2022 05:49:33 +0000
  4. Subject: [PATCH] ui: gl: enable swiftshader for riscv64
  5. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  6. ---
  7. ui/gl/features.gni | 3 ++-
  8. 1 file changed, 2 insertions(+), 1 deletion(-)
  9. diff --git a/ui/gl/features.gni b/ui/gl/features.gni
  10. index 1bbc06c62715..3951bc279222 100644
  11. --- a/ui/gl/features.gni
  12. +++ b/ui/gl/features.gni
  13. @@ -31,5 +31,6 @@ declare_args() {
  14. (is_mac && use_egl) || is_chromeos_ash || is_fuchsia) &&
  15. (target_cpu == "x86" || target_cpu == "x64" ||
  16. target_cpu == "arm" || target_cpu == "arm64" ||
  17. - target_cpu == "mipsel" || target_cpu == "mips64el")
  18. + target_cpu == "mipsel" || target_cpu == "mips64el" ||
  19. + target_cpu == "riscv64")
  20. }
  21. --
  22. 2.25.1