MSVC prefers the attrib at the beginning

This commit is contained in:
Matthew Barr
2016-09-07 11:50:00 +10:00
parent 2e5a2ab2a9
commit 7849b9d611
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
#include "simd_utils.h"
const char vbs_mask_data[] ALIGN_CL_DIRECTIVE = {
ALIGN_CL_DIRECTIVE const char vbs_mask_data[] = {
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0, 0xf0,
@@ -48,7 +48,7 @@ const char vbs_mask_data[] ALIGN_CL_DIRECTIVE = {
#define ZEROES_32 ZEROES_8, ZEROES_8, ZEROES_8, ZEROES_8
/** \brief LUT for the mask1bit functions. */
const u8 simd_onebit_masks[] ALIGN_CL_DIRECTIVE = {
ALIGN_CL_DIRECTIVE const u8 simd_onebit_masks[] = {
ZEROES_31, 0x01, ZEROES_32,
ZEROES_31, 0x02, ZEROES_32,
ZEROES_31, 0x04, ZEROES_32,