[gnome-control-center] info-overview: Replace llvmpipe with “Software Rendering”



commit 88e19f50c90790318206950169bcf5c84f70cea4
Author: Norbert Pfeiler <norbert pfeiler+git gmail com>
Date:   Sat Jan 29 10:56:33 2022 +0100

    info-overview: Replace llvmpipe with “Software Rendering”

 panels/info-overview/info-cleanup.c | 1 +
 tests/info/info-cleanup-test.txt    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/panels/info-overview/info-cleanup.c b/panels/info-overview/info-cleanup.c
index ceeb61025..5c3480ca7 100644
--- a/panels/info-overview/info-cleanup.c
+++ b/panels/info-overview/info-cleanup.c
@@ -45,6 +45,7 @@ prettify_info (const char *info)
     { " x86|/MMX|/SSE2|/PCIe", ""},
     { " [(][^)]*(DRM|MESA|LLVM)[^)]*[)]?", ""},
     { "Graphics Controller", "Graphics"},
+    { ".*llvmpipe.*", "Software Rendering"},
   };
 
   if (*info == '\0')
diff --git a/tests/info/info-cleanup-test.txt b/tests/info/info-cleanup-test.txt
index 80be85135..a0e25fbd0 100644
--- a/tests/info/info-cleanup-test.txt
+++ b/tests/info/info-cleanup-test.txt
@@ -10,7 +10,8 @@ AMD Ryzen Threadripper 1950X 16-Core Processor        AMD Ryzen™ Threadripper™ 1950
 AMD Radeon RX 580 Series (POLARIS10, DRM 3.42.0, 5.15.13-1-ck-generic-v3, LLVM 13.0.0) AMD Radeon™ RX 580 
Series
 AMD EPYC 7251 8-Core Processor AMD EPYC™ 7251
 Gallium 0.4 on SVGA3D  SVGA3D
-Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)   llvmpipe
+Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)   Software Rendering
+llvmpipe (LLVM 12.0.1, 256 bits)       Software Rendering
 AMD FX(tm)-8350 Eight-Core Processor   AMD FX™-8350
 AMD Athlon(tm) II X3 435 Processor     AMD Athlon™ II X3 435
 NVIDIA GeForce GT 710/PCIe/SSE2        NVIDIA GeForce GT 710


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]