summaryrefslogtreecommitdiff
path: root/user/mesa/intel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mesa/intel.patch')
-rw-r--r--user/mesa/intel.patch85
1 files changed, 0 insertions, 85 deletions
diff --git a/user/mesa/intel.patch b/user/mesa/intel.patch
deleted file mode 100644
index 10871fc7c..000000000
--- a/user/mesa/intel.patch
+++ /dev/null
@@ -1,85 +0,0 @@
---- mesa-18.1.3/src/mesa/drivers/dri/i965/brw_bufmgr.h 2018-06-29 13:47:29.000000000 -0400
-+++ mesa-18.1.3/src/mesa/drivers/dri/i965/brw_bufmgr.h 2018-07-24 03:18:37.479847335 -0400
-@@ -37,6 +37,7 @@
- #include <stdbool.h>
- #include <stdint.h>
- #include <stdio.h>
-+#include <time.h>
- #include "util/u_atomic.h"
- #include "util/list.h"
-
---- mesa-18.1.3/src/intel/vulkan/anv_entrypoints_gen.py 2018-07-24 03:15:05.009848837 -0400
-+++ mesa-18.1.3/src/intel/vulkan/anv_entrypoints_gen.py 2018-07-24 03:12:21.739849990 -0400
-@@ -91,7 +91,7 @@
- % endfor
- """, output_encoding='utf-8')
-
--TEMPLATE_C = Template(u"""\
-+TEMPLATE_C = Template("""\
- /*
- * Copyright © 2015 Intel Corporation
- *
-@@ -145,7 +145,7 @@
- /* Hash table stats:
- * size ${len(strmap.sorted_strings)} entries
- * collisions entries:
--% for i in xrange(10):
-+% for i in range(10):
- * ${i}${'+' if i == 9 else ' '} ${strmap.collisions[i]}
- % endfor
- */
-@@ -388,7 +388,7 @@
-
- def bake(self):
- self.sorted_strings = \
-- sorted(self.strings.values(), key=lambda x: x.string)
-+ sorted(list(self.strings.values()), key=lambda x: x.string)
- offset = 0
- for entry in self.sorted_strings:
- entry.offset = offset
-@@ -507,7 +507,7 @@
- assert e.core_version is None
- e.extensions.append(ext)
-
-- return [e for e in entrypoints.itervalues() if e.enabled]
-+ return [e for e in list(entrypoints.values()) if e.enabled]
-
-
- def get_entrypoints_defines(doc):
---- mesa-18.1.3/src/intel/vulkan/anv_extensions.py 2018-06-29 13:47:29.000000000 -0400
-+++ mesa-18.1.3/src/intel/vulkan/anv_extensions.py 2018-07-24 03:07:13.599852168 -0400
-@@ -146,14 +146,32 @@
- patch = self.patch if self.patch is not None else 0
- return (self.major << 22) | (self.minor << 12) | patch
-
-- def __cmp__(self, other):
-+ def __lt__(self, other):
- # If only one of them has a patch version, "ignore" it by making
- # other's patch version match self.
- if (self.patch is None) != (other.patch is None):
- other = copy.copy(other)
- other.patch = self.patch
-
-- return self.__int_ver().__cmp__(other.__int_ver())
-+ return self.__int_ver() < other.__int_ver()
-+
-+ def __gt__(self, other):
-+ # If only one of them has a patch version, "ignore" it by making
-+ # other's patch version match self.
-+ if (self.patch is None) != (other.patch is None):
-+ other = copy.copy(other)
-+ other.patch = self.patch
-+
-+ return self.__int_ver() > other.__int_ver()
-+
-+ def __eq__(self, other):
-+ # If only one of them has a patch version, "ignore" it by making
-+ # other's patch version match self.
-+ if (self.patch is None) != (other.patch is None):
-+ other = copy.copy(other)
-+ other.patch = self.patch
-+
-+ return self.__int_ver() == other.__int_ver()
-
-
- MAX_API_VERSION = VkVersion('0.0.0')