summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-10-04 03:06:04 +0100
committerDave Airlie <[email protected]>2017-10-04 06:22:44 +0100
commit4e93d6baae2d00540b9bee0decff700d1aa6b247 (patch)
tree869c8053b34dc92ea7cdae1dd0b07116d52707f7 /src/amd/vulkan/radv_shader.h
parentb2dce27373ef40d841f86d7328c65b9a5802f4c1 (diff)
radv: emit fmuladd instead of fma to llvm.
For Vulkan SPIR-V the spec states fma() Inherited from OpFMul followed by OpFAdd. Matt says the backend will do the right thing depending on the hardware being compiled for, if you use the fmuladd intrinsic. Using the Mad Max pts test, on high settings at 4K: CHP: 55->60 HGDD: 46->50 LM: 55->60 No change on Stronghold. Thanks to Feral for spending the time to track this down. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Cc: "17.2" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
0 files changed, 0 insertions, 0 deletions