Searched refs:etc2_clamp (Results 1 – 1 of 1) sorted by relevance
316 etc2_clamp(int color) in etc2_clamp() function387 block->paint_colors[0][i] = etc2_clamp(block->base_colors[0][i]); in etc2_rgb8_parse_block()388 block->paint_colors[1][i] = etc2_clamp(block->base_colors[1][i] + in etc2_rgb8_parse_block()390 block->paint_colors[2][i] = etc2_clamp(block->base_colors[1][i]); in etc2_rgb8_parse_block()391 block->paint_colors[3][i] = etc2_clamp(block->base_colors[1][i] - in etc2_rgb8_parse_block()419 block->paint_colors[0][i] = etc2_clamp(block->base_colors[0][i] + in etc2_rgb8_parse_block()421 block->paint_colors[1][i] = etc2_clamp(block->base_colors[0][i] - in etc2_rgb8_parse_block()423 block->paint_colors[2][i] = etc2_clamp(block->base_colors[1][i] + in etc2_rgb8_parse_block()425 block->paint_colors[3][i] = etc2_clamp(block->base_colors[1][i] - in etc2_rgb8_parse_block()505 dst[0] = etc2_clamp(base_color[0] + modifier); in etc2_rgb8_fetch_texel()[all …]