diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-05 18:02:08 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-12-07 17:21:50 +0100 |
commit | 5f81a43535e8512cef26ea3dcd1e3a489bd5a1bb (patch) | |
tree | 9b411d003145c3d158c2f73bb9b8a9a43c21b27b /src/gallium/README.portability | |
parent | 25e56b2ebafe2bcebb23819cc355e1b079a839d6 (diff) |
radv: use a faster version for nir_op_pack_half_2x16
This patch is ported from RadeonSI and it has two effects.
It fixes a rendering issue which affects F1 2017 and Dawn
of War 3 (Vega only) because LLVM was ending up by generating
the new v_mad_mix_{hi,lo} instructions which appear to be
buggy in some way. Not sure if Mesa is generating something
wrong or if the issue is in LLVM only. Anyway, that explains why
the DOW3 issue can't be reproduced with GL on Vega.
It also improves performance because v_cvt_pkrtz_f16 is faster,
and because I guess the rounding mode behaviour is similar between
GL and VK, we can use it. About performance, it improves Talos
by +3/4% but I don't see any other impacts.
No CTS regressions on Polaris.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions