0021-ui-gl-enable-swiftshader-for-riscv64.patch 1011 B

12345678910111213141516171819202122232425
  1. From 35215eba9c06084d0a89da41862e410b46d9a720 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 21/68] 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 743d647f0c49..36b0ef881ae3 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.30.2