Searched refs:etc2_clamp (Results 1 – 1 of 1) sorted by relevance
315 etc2_clamp(int color) in etc2_clamp() function386 block->paint_colors[0][i] = etc2_clamp(block->base_colors[0][i]); in etc2_rgb8_parse_block()387 block->paint_colors[1][i] = etc2_clamp(block->base_colors[1][i] + in etc2_rgb8_parse_block()389 block->paint_colors[2][i] = etc2_clamp(block->base_colors[1][i]); in etc2_rgb8_parse_block()390 block->paint_colors[3][i] = etc2_clamp(block->base_colors[1][i] - in etc2_rgb8_parse_block()418 block->paint_colors[0][i] = etc2_clamp(block->base_colors[0][i] + in etc2_rgb8_parse_block()420 block->paint_colors[1][i] = etc2_clamp(block->base_colors[0][i] - in etc2_rgb8_parse_block()422 block->paint_colors[2][i] = etc2_clamp(block->base_colors[1][i] + in etc2_rgb8_parse_block()424 block->paint_colors[3][i] = etc2_clamp(block->base_colors[1][i] - in etc2_rgb8_parse_block()504 dst[0] = etc2_clamp(base_color[0] + modifier); in etc2_rgb8_fetch_texel()[all …]