Skip to content
Commit 16af8e97 authored by Roland Scheidegger's avatar Roland Scheidegger Committed by Dylan Baker
Browse files

gallivm: Fix saturated signed psub/padd intrinsics on llvm 8



LLVM 8 did remove both the signed and unsigned sse2/avx intrinsics in
the end, and provide arch-independent llvm intrinsics instead.
Fixes a crash when using snorm framebuffers (tested with piglit
arb_color_buffer_float-render GL_RGBA8_SNORM -auto).

Reviewed-by: default avatarJose Fonseca <jfonseca@vmware.com>
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
CC: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 045f05a2)
Conflicts resolved by Dylan Baker
parent 01e31f8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment