Searched refs:p2_mask (Results 1 – 2 of 2) sorted by relevance
/third_party/astc-encoder/Source/ |
D | astcenc_averages_and_directions.cpp | 157 vmask p2_mask = lane_mask & (texel_partition == vint(2)); in compute_partition_averages_rgb() local 162 haccumulate(pp_avg_rgb[2][0], data_r, p2_mask); in compute_partition_averages_rgb() 167 haccumulate(pp_avg_rgb[2][1], data_g, p2_mask); in compute_partition_averages_rgb() 172 haccumulate(pp_avg_rgb[2][2], data_b, p2_mask); in compute_partition_averages_rgb() 338 vmask p2_mask = lane_mask & (texel_partition == vint(2)); in compute_partition_averages_rgba() local 343 haccumulate(pp_avg_rgba[2][0], data_r, p2_mask); in compute_partition_averages_rgba() 348 haccumulate(pp_avg_rgba[2][1], data_g, p2_mask); in compute_partition_averages_rgba() 353 haccumulate(pp_avg_rgba[2][2], data_b, p2_mask); in compute_partition_averages_rgba() 358 haccumulate(pp_avg_rgba[2][3], data_a, p2_mask); in compute_partition_averages_rgba()
|
D | astcenc_ideal_endpoints_and_weights.cpp | 1381 vmask4 p2_mask = vint4::lane_id() == vint4(plane2_component); in recompute_ideal_colors_2planes() local 1413 vfloat4 color_idx = select(vfloat4(idx0), vfloat4(idx1), p2_mask); in recompute_ideal_colors_2planes() 1434 float psum = dot3_s(select(right1_sum, right2_sum, p2_mask), color_weight); in recompute_ideal_colors_2planes() 1509 vmask4 full_mask = p2_mask & notnan_mask; in recompute_ideal_colors_2planes() 1530 vmask4 full_mask = p2_mask & det_mask & notnan_mask; in recompute_ideal_colors_2planes()
|