diff options
author | Rhys Perry <[email protected]> | 2019-05-29 16:07:44 +0100 |
---|---|---|
committer | Rhys Perry <[email protected]> | 2019-06-04 17:30:53 +0100 |
commit | 73dda85512942e67991a5fbc3c9a1714e7624d00 (patch) | |
tree | 109b51d62c904f8b740f364183717d2afd734878 /src/compiler/spirv/gl_spirv.c | |
parent | d4a2f8b33bead997e5629eb3f15c3632e930022d (diff) |
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: <[email protected]>
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/spirv/gl_spirv.c')
0 files changed, 0 insertions, 0 deletions