diff options
author | Roland Scheidegger <[email protected]> | 2016-01-29 03:18:36 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-02-02 05:58:19 +0100 |
commit | ab30426e335116e29473faaafe8b57ec760516ee (patch) | |
tree | b638e2beca9982eaba8f9d9dc45307addd77f9e1 /src/gallium/drivers/llvmpipe | |
parent | 116e4dc995af27e5fbd218240785fc4422feeb1c (diff) |
i965: Provide sse2 version for rgba8 <-> bgra8 swizzle
The existing code used ssse3, and because it isn't compiled in a separate
file compiled with that, it is usually not used (that, of course, could
be fixed...), whereas sse2 is always present at least with 64bit builds.
This should be pretty much as fast as the pshufb version, albeit those
code paths aren't really used on chips without llc in any case.
v2: fix andnot argument order, add comments
v3: use pshuflw/hw instead of shifts (suggested by Matt Turner), cut comments
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions