aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa_17.1.4.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2017-07-05 18:36:27 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:33:59 +0100
commit7a0ababb9f5c7f09bf072412e0744dcf69534129 (patch)
tree3fe66fd0e43a8a624073a140f366b30c9e581b79 /meta/recipes-graphics/mesa/mesa_17.1.4.bb
parent85476cdb19d5c383966ba753a71eaeb3622bd6b4 (diff)
downloadopenembedded-core-contrib-7a0ababb9f5c7f09bf072412e0744dcf69534129.tar.gz
mesa: etnaviv: fix shader miscompilation with more than 16 labels
The labels array may change its virtual address on a reallocation, so it is invalid to cache pointers into the array. Rather than using the pointer directly, remember the array index. Fixes miscompilation of shaders in glmark2 ideas, leading to GPU hangs. This is a backport from 17.1.5. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa_17.1.4.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa_17.1.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa_17.1.4.bb b/meta/recipes-graphics/mesa/mesa_17.1.4.bb
index 2a1ecd3124..3289cd63a9 100644
--- a/meta/recipes-graphics/mesa/mesa_17.1.4.bb
+++ b/meta/recipes-graphics/mesa/mesa_17.1.4.bb
@@ -3,6 +3,7 @@ require ${BPN}.inc
SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://replace_glibc_check_with_linux.patch \
file://disable-asm-on-non-gcc.patch \
+ file://etnaviv_fix-shader-miscompilation.patch \
file://0001-Use-wayland-scanner-in-the-path.patch \
file://0002-hardware-gloat.patch \
"