diff options
author | Roland Scheidegger <sroland@vmware.com> | 2016-02-02 15:45:59 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2016-02-02 15:45:59 +0100 |
commit | 5e090079e128580be16f7679b7f8a194102c5a2d (patch) | |
tree | 0253d5b3d6b8004b7361215042cf57069726c8f1 /src/mesa/drivers/dri/i965/intel_mipmap_tree.c | |
parent | e7a27f70b91e202ad9afc3e67e1080572d4d4a0b (diff) | |
download | external_mesa3d-5e090079e128580be16f7679b7f8a194102c5a2d.zip external_mesa3d-5e090079e128580be16f7679b7f8a194102c5a2d.tar.gz external_mesa3d-5e090079e128580be16f7679b7f8a194102c5a2d.tar.bz2 |
Revert "i965: Provide sse2 version for rgba8 <-> bgra8 swizzle"
This reverts commit ab30426e335116e29473faaafe8b57ec760516ee.
Apparently the memory isn't quite as aligned when this gets called
as it should be, causing crashes. (Albeit this looks independent
from this code, should crash just as well if ssse3 is enabled when
compiling without this patch.)
https://bugs.freedesktop.org/show_bug.cgi?id=93962
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_mipmap_tree.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c index b52bbfb..108dd87 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.c @@ -2773,11 +2773,6 @@ intel_miptree_map(struct brw_context *brw, } else if (!(mode & GL_MAP_WRITE_BIT) && !mt->compressed && cpu_has_sse4_1 && (mt->pitch % 16 == 0)) { - /* - * XXX: without sse4_1, in some situations it would be beneficial - * to copy regardless (with an ordinary memcpy) as otherwise mesa - * may access uncached memory bytewise. - */ intel_miptree_map_movntdqa(brw, mt, map, level, slice); #endif } else { |