commit | cfd963201e004f8b9b5b631812960d6985f03e75 | [log] [tgz] |
---|---|---|
author | Alexis Hetu <sugoi@google.com> | Mon Jul 24 14:44:33 2017 -0400 |
committer | Alexis Hétu <sugoi@google.com> | Mon Jul 24 18:55:53 2017 +0000 |
tree | a3bc688701916a55987bf421aa1180a41cb39f56 | |
parent | 426cb5e11112c9a9c3a7f145474a29e5e81463ca [diff] [blame] |
Added UInt to FP cast UInt4 -> Float4 already existed, but not UInt -> Float. Added the scalar conversion code and used it in the Blitter where appropriate. Change-Id: I9ebf63fdf8b139b960237b269f2da088f6ecac86 Reviewed-on: https://swiftshader-review.googlesource.com/10888 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Reactor/Reactor.hpp b/src/Reactor/Reactor.hpp index b02c6be..186f739 100644 --- a/src/Reactor/Reactor.hpp +++ b/src/Reactor/Reactor.hpp
@@ -1535,6 +1535,7 @@ { public: explicit Float(RValue<Int> cast); + explicit Float(RValue<UInt> cast); Float() = default; Float(float x);