OSDN Git Service

Added constructor Int4(RValue<Byte4>) and Int4(RValue<SByte4>) to Nucleus.
authorMeng-Lin Wu <marleymoo@google.com>
Fri, 10 Jun 2016 18:18:41 +0000 (14:18 -0400)
committerAlexis Hétu <sugoi@google.com>
Thu, 22 Sep 2016 17:24:28 +0000 (17:24 +0000)
commit601d00599dc6aba541c6fa158b31c3a8fe17a5b5
tree155467542e14e841a02b0483e35d93df90d60512
parent996663b443af671794497def0d483a6786003380
Added constructor Int4(RValue<Byte4>) and Int4(RValue<SByte4>) to Nucleus.

To avoid duplicating code, Float4(RValue<Byte4>) and Float4(RValue<SByte4>) now call Int4(RValue<Byte4>) and Int4(RValue<SByte4>) respectively.

Change-Id: Ic49fdd151d15cc1c2753f535d3654028e7a1910a
Reviewed-on: https://swiftshader-review.googlesource.com/5560
Tested-by: Meng-Lin Wu <marleymoo@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/Reactor/Nucleus.cpp
src/Reactor/Nucleus.hpp