Commit 5d64ec4c by Ben Clayton

Fix windows build.

Remove duplicate definitions of Extract and Insert for UInt4 Change-Id: Ib2d54606ead6b953b93f28e9f0dfd7987b1da774 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28848 Presubmit-Ready: Ben Clayton <bclayton@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent 3954a0ba
...@@ -2944,16 +2944,6 @@ namespace rr ...@@ -2944,16 +2944,6 @@ namespace rr
storeValue((~(As<Int4>(cast) >> 31) & uiValue).value); storeValue((~(As<Int4>(cast) >> 31) & uiValue).value);
} }
RValue<UInt> Extract(RValue<UInt4> x, int i)
{
return RValue<UInt>(Nucleus::createExtractElement(x.value, UInt::getType(), i));
}
RValue<UInt4> Insert(RValue<UInt4> x, RValue<UInt> element, int i)
{
return RValue<UInt4>(Nucleus::createInsertElement(x.value, element.value, i));
}
RValue<UInt4> operator<<(RValue<UInt4> lhs, unsigned char rhs) RValue<UInt4> operator<<(RValue<UInt4> lhs, unsigned char rhs)
{ {
if(emulateIntrinsics) if(emulateIntrinsics)
......
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