diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2017-12-05 14:09:23 +0000 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-12-20 17:16:04 +0100 |
commit | f7ef1a83b19246e7b868f5ce3196928657a05a9f (patch) | |
tree | 485492d5948739d5fbcfc4a485e68adad1e196c6 /recipes-graphics/mesa/mesa/0004-mesa-17.1.7-compilation-fixes.patch | |
parent | 23b16552dc23ce47482dad3b7cedbf57a6d6493d (diff) |
mesa: tk1 mainline: forward port patches to 17.1.7
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
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.patch | 26 |
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 + |