Lines Matching refs:tix
157 unsigned int tix = pi.texels_of_partition[i][j];
158 float value = data_vr[tix];
184 unsigned int tix = pi.texels_of_partition[i][j];
185 float value = (data_vr[tix] - lowvalue) * scale;
188 ei.weights[tix] = value;
189 ei.weight_error_scale[tix] = length_squared * error_weight;
190 assert(!astc::isnan(ei.weight_error_scale[tix]));
284 unsigned int tix = pi.texels_of_partition[i][j];
285 vfloat4 point = vfloat2(data_vr[tix], data_vg[tix]);
287 ei.weights[tix] = param;
316 unsigned int tix = pi.texels_of_partition[i][j];
317 float idx = (ei.weights[tix] - lowparam) * scale;
320 ei.weights[tix] = idx;
321 ei.weight_error_scale[tix] = length_squared * error_weight;
322 assert(!astc::isnan(ei.weight_error_scale[tix]));
478 unsigned int tix = pi.texels_of_partition[i][j];
479 vfloat4 point = vfloat3(data_vr[tix], data_vg[tix], data_vb[tix]);
481 ei.weights[tix] = param;
510 unsigned int tix = pi.texels_of_partition[i][j];
511 float idx = (ei.weights[tix] - lowparam) * scale;
514 ei.weights[tix] = idx;
515 ei.weight_error_scale[tix] = length_squared * error_weight;
516 assert(!astc::isnan(ei.weight_error_scale[tix]));
600 unsigned int tix = pi.texels_of_partition[i][j];
601 vfloat4 point = blk.texel(tix);
603 ei.weights[tix] = param;
635 unsigned int tix = pi.texels_of_partition[i][j];
636 float idx = (ei.weights[tix] - lowparam) * scale;
639 ei.weights[tix] = idx;
640 ei.weight_error_scale[tix] = length_squared * error_weight;
641 assert(!astc::isnan(ei.weight_error_scale[tix]));
1270 unsigned int tix = texel_indexes[j];
1271 rgba_sum += blk.texel(tix);
1301 unsigned int tix = texel_indexes[j];
1302 vfloat4 rgba = blk.texel(tix);
1304 float idx0 = undec_weight_ref[tix];