diff options
author | Dave Airlie <[email protected]> | 2018-01-29 10:55:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-02-06 08:21:48 +1000 |
commit | 35b430157776e8a87a1879dbc136f3cb3f599df1 (patch) | |
tree | 51736cad32cee515d39e64a4efc871127fad93aa /src/mesa | |
parent | 0170ae1e2351d9ced0069f5cb48b58cabb23926b (diff) |
r600/fp64: fix integer->double conversion
Doing a straight uint/int->fp32->fp64 conversion causes
some precision issues, Roland suggested splitting the
integer into two portions and doing two separate
int->fp32->fp64 conversions then adding the results.
This passes the tests in CTS and piglit.
[airlied: fix cypress conversion opcodes]
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions