Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i915/
Di830_texblend.c143 GLuint rgb_shift; in i830SetTexEnvCombine() local
170 rgb_shift = 0; in i830SetTexEnvCombine()
175 rgb_shift = 0; in i830SetTexEnvCombine()
179 rgb_shift = combine->ScaleShiftRGB; in i830SetTexEnvCombine()
216 blendop |= (rgb_shift << TEXOP_SCALE_SHIFT); in i830SetTexEnvCombine()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp597 GLuint rgb_shift, alpha_shift; in emit_texenv() local
606 rgb_shift = 0; in emit_texenv()
610 rgb_shift = 0; in emit_texenv()
613 rgb_shift = key->unit[unit].ScaleShiftRGB; in emit_texenv()
621 if (rgb_shift) in emit_texenv()
691 if (alpha_shift || rgb_shift) { in emit_texenv()
694 if (rgb_shift == alpha_shift) { in emit_texenv()
695 shift = new(p->mem_ctx) ir_constant((float)(1 << rgb_shift)); in emit_texenv()
700 const_data.f[0] = float(1 << rgb_shift); in emit_texenv()
701 const_data.f[1] = float(1 << rgb_shift); in emit_texenv()
[all …]