Skip to content

Commit 9eaed41

Browse files
committed
Readability fix
1 parent 0108a8e commit 9eaed41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/astcenc_ideal_endpoints_and_weights.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,6 @@ void compute_ideal_weights_for_decimation(
867867
}
868868

869869
// Otherwise compute an estimate and perform single refinement iteration
870-
ASTCENC_ALIGNAS float infilled_weights[BLOCK_MAX_TEXELS];
871870

872871
// Compute an initial average for each decimated weight
873872
bool constant_wes = ei.is_constant_weight_error_scale;
@@ -908,6 +907,7 @@ void compute_ideal_weights_for_decimation(
908907
// Populate the interpolated weight grid based on the initial average
909908
// Process SIMD-width texel coordinates at at time while we can. Safe to
910909
// over-process full SIMD vectors - the tail is zeroed.
910+
ASTCENC_ALIGNAS float infilled_weights[BLOCK_MAX_TEXELS];
911911
if (di.max_texel_weight_count <= 2)
912912
{
913913
for (unsigned int i = 0; i < texel_count; i += ASTCENC_SIMD_WIDTH)

0 commit comments

Comments
 (0)