Commit e89cd580 by Nicolas Capens

Refactor vector swizzle.

Bug swiftshader:15 Change-Id: Iaa626705220e4bd9b3c744c7623f8b204022b716 Reviewed-on: https://swiftshader-review.googlesource.com/7397Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 9709d4ff
......@@ -145,7 +145,7 @@ namespace sw
// Vector instructions
static Value *createExtractElement(Value *vector, Type *type, int index);
static Value *createInsertElement(Value *vector, Value *element, int index);
static Value *createShuffleVector(Value *V1, Value *V2, Value *mask);
static Value *createShuffleVector(Value *V1, Value *V2, const int *select);
// Other instructions
static Value *createSelect(Value *C, Value *ifTrue, Value *ifFalse);
......
......@@ -711,7 +711,7 @@ namespace sw
return V(result);
}
Value *Nucleus::createShuffleVector(Value *V1, Value *V2, Value *mask)
Value *Nucleus::createShuffleVector(Value *V1, Value *V2, const int *select)
{
assert(false && "UNIMPLEMENTED"); return nullptr;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment