diff options
author | Dave Airlie <[email protected]> | 2017-10-04 06:33:02 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-10-11 07:31:27 +1000 |
commit | 2c61594d84911f486aa2edb4b8e561e780139d20 (patch) | |
tree | 24027381783da5fa7760e0fce94729d79c81f99d /src/git_sha1.h.in | |
parent | 25d76fd658105b06c241a441899e00c4d912d434 (diff) |
radv: lower ffma in nir.
So it appears the Vulkan SPIR-V fma opcode can be equivalent to a
mad operation, and the fma hw opcode on AMD hw is issued like a double
opcode so is slower. Also the radeonsi stack does this.
This appears to improve performance on a number of games from Feral,
and thanks to Feral for noticing the problem.
I'm reposting this one as Marek indicated he thinks this is what
we should be doing on AMD hw.
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Cc: "17.2" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/git_sha1.h.in')
0 files changed, 0 insertions, 0 deletions