OSDN Git Service

Short4 warnings fixed
authorAlexis Hetu <sugoi@google.com>
Mon, 27 Jun 2016 15:50:40 +0000 (11:50 -0400)
committerAlexis Hétu <sugoi@google.com>
Tue, 28 Jun 2016 16:47:45 +0000 (16:47 +0000)
commit90c7ad6764b32c5c1784893316872282f791135a
treece61755172c8deda19c8c46e48b9c649a99e519e
parent53977f1ce7dfd3bff7a51d683e8656f85d1631b2
Short4 warnings fixed

Switched the Short4 constructor from 'short' to 'unsigned short'
in order to accept hexadecimal values, which is generally how
Short4 values are initialized.

Change-Id: I89eb41bfd65f9071ba42dbb6a06d4349cbb89d67
Reviewed-on: https://swiftshader-review.googlesource.com/5701
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
src/Reactor/Nucleus.cpp
src/Reactor/Nucleus.hpp
src/Shader/PixelPipeline.cpp
src/Shader/PixelRoutine.cpp
src/Shader/SamplerCore.cpp