biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / x11 / xorg / use_crocus_and_iris.patch
blob54744f463bd97d7d18580064a1863245abbe7265
1 --- a/src/uxa/intel_dri.c
2 +++ b/src/uxa/intel_dri.c
3 @@ -1540,8 +1540,10 @@
4 return has_i830_dri() ? "i830" : "i915";
5 else if (INTEL_INFO(intel)->gen < 040)
6 return "i915";
7 + else if (INTEL_INFO(intel)->gen < 0100)
8 + return "crocus";
9 else
10 - return "i965";
11 + return "iris";
14 return s;
15 --- a/src/sna/sna_dri2.c
16 +++ b/src/sna/sna_dri2.c
17 @@ -3707,8 +3707,10 @@
18 return has_i830_dri() ? "i830" : "i915";
19 else if (sna->kgem.gen < 040)
20 return "i915";
21 + else if (sna->kgem.gen < 0100)
22 + return "crocus";
23 else
24 - return "i965";
25 + return "iris";
28 return s;