OSDN Git Service

Refactor Reactor type constructors.
authorNicolas Capens <capn@google.com>
Mon, 16 Jan 2017 22:19:00 +0000 (17:19 -0500)
committerNicolas Capens <capn@google.com>
Tue, 17 Jan 2017 15:45:25 +0000 (15:45 +0000)
commita25311ad85c5e51022800f6f7931b1b1471ab207
treea645d7184632eaeb4e3c80bbeb06945fcf55b1b6
parent0133d0f58c48e66939bfc6924bbf76a45c2ec4c5
Refactor Reactor type constructors.

Provide default constructors for each type, and initialize the swizzle
parent in a less bug prone manner.

Change-Id: Ia7f406a66274c7b1737cbe82db733e2e3ab65175
Reviewed-on: https://swiftshader-review.googlesource.com/8453
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/Reactor/LLVMReactor.cpp
src/Reactor/Reactor.hpp
src/Reactor/SubzeroReactor.cpp