summaryrefslogtreecommitdiff
path: root/libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch')
-rw-r--r--libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch b/libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch
deleted file mode 100644
index 02a2feecf..000000000
--- a/libre/mesa/swr-rast-remove-llvm-fence-atomics-from-generated-files.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
-index 025d38a..ce892a9 100644
---- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
-+++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
-@@ -140,6 +140,14 @@ def parse_ir_builder(input_file):
-
- ignore = False
-
-+ # The following functions need to be ignored in openswr.
-+ # API change in llvm-5.0 breaks baked autogen files
-+ if (
-+ (func_name == 'CreateFence' or
-+ func_name == 'CreateAtomicCmpXchg' or
-+ func_name == 'CreateAtomicRMW')):
-+ ignore = True
-+
- # The following functions need to be ignored.
- if (func_name == 'CreateInsertNUWNSWBinOp' or
- func_name == 'CreateMaskedIntrinsic' or