Home
last modified time | relevance | path

Searched refs:base_color (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/main/
Dtexcompress_etc_tmp.h119 const UINT8_TYPE *base_color; in TAG() local
130 base_color = block->base_colors[blk]; in TAG()
133 dst[0] = TAG(etc1_clamp)(base_color[0], modifier); in TAG()
134 dst[1] = TAG(etc1_clamp)(base_color[1], modifier); in TAG()
135 dst[2] = TAG(etc1_clamp)(base_color[2], modifier); in TAG()
Dtexcompress_etc.c481 const uint8_t *base_color; in etc2_rgb8_fetch_texel() local
502 base_color = block->base_colors[blk]; in etc2_rgb8_fetch_texel()
505 dst[0] = etc2_clamp(base_color[0] + modifier); in etc2_rgb8_fetch_texel()
506 dst[1] = etc2_clamp(base_color[1] + modifier); in etc2_rgb8_fetch_texel()
507 dst[2] = etc2_clamp(base_color[2] + modifier); in etc2_rgb8_fetch_texel()