summaryrefslogtreecommitdiff
path: root/recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch')
-rw-r--r--recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch b/recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch
new file mode 100644
index 0000000..f9e9a45
--- /dev/null
+++ b/recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch
@@ -0,0 +1,26 @@
+From 3fd098d1127695a2ba5f9e56eb51c0c26c928d2c Mon Sep 17 00:00:00 2001
+From: Dominik Sliwa <dominik.sliwa@toradex.com>
+Date: Tue, 5 Dec 2017 15:33:29 +0000
+Subject: [PATCH 4/4] mesa: 17.1.7 compilation fixes
+
+Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
+---
+ src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
+index 68d02f8..958f1be 100644
+--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
++++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp
+@@ -1250,7 +1250,7 @@ ConstantFolding::opnd(Instruction *i, ImmediateValue &imm0, int s)
+
+ cmp->dType = TYPE_F32;
+ if (i->src(t).mod != Modifier(0)) {
+- assert(i->src(t).mod == Modifier(NV50_IR_MOD_NOT));
++ // assert(i->src(t).mod == Modifier(NV50_IR_MOD_NOT));
+ i->src(t).mod = Modifier(0);
+ cmp->setCond = inverseCondCode(cmp->setCond);
+ }
+--
+2.7.4
+