Lines Matching defs:texel

284 			unsigned int texel = y * x_texels + x;
313 wb.grid_weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(qweight[i]);
314 wb.weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(weight[i]);
315 wb.weight_count_of_texel[texel]++;
316 wb.texels_of_weight[qweight[i]][wb.texel_count_of_weight[qweight[i]]] = static_cast<uint8_t>(texel);
356 uint8_t texel = wb.texels_of_weight[i][j];
359 di.weight_texels_tr[j][i] = texel;
362 // Store the per-texel contribution of this weight for each texel it contributes to
366 uint8_t dttw = di.texel_weights_tr[k][texel];
367 float dttwf = di.texel_weight_contribs_float_tr[k][texel];
370 di.texel_contrib_for_weight[j][i] = di.texel_weight_contribs_float_tr[k][texel];
377 // Match last texel in active lane in SIMD group, for better gathers
401 // Match last texel in active lane in SIMD group, for better gathers
470 int texel = (z * y_texels + y) * x_texels + x;
568 wb.grid_weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(qweight[i]);
569 wb.weights_of_texel[texel][wb.weight_count_of_texel[texel]] = static_cast<uint8_t>(weight[i]);
570 wb.weight_count_of_texel[texel]++;
571 wb.texels_of_weight[qweight[i]][wb.texel_count_of_weight[qweight[i]]] = static_cast<uint8_t>(texel);
612 unsigned int texel = wb.texels_of_weight[i][j];
615 di.weight_texels_tr[j][i] = static_cast<uint8_t>(texel);
618 // Store the per-texel contribution of this weight for each texel it contributes to
622 uint8_t dttw = di.texel_weights_tr[k][texel];
623 float dttwf = di.texel_weight_contribs_float_tr[k][texel];
626 di.texel_contrib_for_weight[j][i] = di.texel_weight_contribs_float_tr[k][texel];
633 // Match last texel in active lane in SIMD group, for better gathers
657 // Match last texel in active lane in SIMD group, for better gathers
717 uint8_t texel = static_cast<uint8_t>(astc::rand(rng_state));
718 texel = texel % bsd.texel_count;
719 if (!seen[texel])
721 bsd.kmeans_texels[arr_elements_set++] = texel;
722 seen[texel] = true;