Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1633)

Unified Diff: cc/raster/texture_compressor_etc1_sse.cc

Issue 2932053002: Use C++11 alignment primitives (Closed)
Patch Set: Fix merge Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/raster/texture_compressor_etc1.h ('k') | components/tracing/core/proto_zero_message.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/texture_compressor_etc1_sse.cc
diff --git a/cc/raster/texture_compressor_etc1_sse.cc b/cc/raster/texture_compressor_etc1_sse.cc
index cb8579c073a53b4da5fcbd0af8e754dfefd9697e..f0936885d13c0be0e2c6f20047ec47bcb843306a 100644
--- a/cc/raster/texture_compressor_etc1_sse.cc
+++ b/cc/raster/texture_compressor_etc1_sse.cc
@@ -790,7 +790,7 @@ void TextureCompressorETC1SSE::Compress(const uint8_t* src,
DCHECK_GE(height, 4);
DCHECK_EQ((height & 3), 0);
- ALIGNAS(16) uint8_t block[64];
+ alignas(16) uint8_t block[64];
__m128i packed[4];
__m128i red[4], green[4], blue[4], alpha[4];
__sse_data data;
« no previous file with comments | « cc/raster/texture_compressor_etc1.h ('k') | components/tracing/core/proto_zero_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698