Skip to content
Commit 60688cc3 authored by Rhys Perry's avatar Rhys Perry Committed by Juan A. Suarez Romero
Browse files

ac/nir: mark some texture intrinsics as convergent



Otherwise LLVM can sink them and their texture coordinate calculations
into divergent branches.

v2: simplify the conditions on which the intrinsic is marked as convergent
v3: only mark as convergent in FS and CS with derivative groups

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
(cherry picked from commit 73dda855)
parent 38927a35
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