mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 10:14:35 +00:00
Fixed C++98 build
This commit is contained in:
parent
e1c3c531dd
commit
a472f50767
@ -634,8 +634,10 @@ namespace bitfieldInterleave
|
|||||||
# if(GLM_ARCH != GLM_ARCH_PURE)
|
# if(GLM_ARCH != GLM_ARCH_PURE)
|
||||||
{
|
{
|
||||||
// SIMD
|
// SIMD
|
||||||
std::vector<__m128i> SimdData(x_max * y_max);
|
std::vector<__m128i> SimdData;
|
||||||
std::vector<__m128i> SimdParam(x_max * y_max);
|
SimdData.resize(x_max * y_max);
|
||||||
|
std::vector<__m128i> SimdParam;
|
||||||
|
SimdParam.resize(x_max * y_max);
|
||||||
for(int i = 0; i < SimdParam.size(); ++i)
|
for(int i = 0; i < SimdParam.size(); ++i)
|
||||||
SimdParam[i] = _mm_set_epi32(i % x_max, 0, i / y_max, 0);
|
SimdParam[i] = _mm_set_epi32(i % x_max, 0, i / y_max, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user