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.c144 GLuint rgb_shift; in i830SetTexEnvCombine() local
171 rgb_shift = 0; in i830SetTexEnvCombine()
176 rgb_shift = 0; in i830SetTexEnvCombine()
180 rgb_shift = combine->ScaleShiftRGB; in i830SetTexEnvCombine()
217 blendop |= (rgb_shift << TEXOP_SCALE_SHIFT); in i830SetTexEnvCombine()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp756 GLuint rgb_shift, alpha_shift; in emit_texenv() local
765 rgb_shift = 0; in emit_texenv()
769 rgb_shift = 0; in emit_texenv()
772 rgb_shift = key->unit[unit].ScaleShiftRGB; in emit_texenv()
780 if (rgb_shift) in emit_texenv()
850 if (alpha_shift || rgb_shift) { in emit_texenv()
853 if (rgb_shift == alpha_shift) { in emit_texenv()
854 shift = new(p->mem_ctx) ir_constant((float)(1 << rgb_shift)); in emit_texenv()
859 const_data.f[0] = float(1 << rgb_shift); in emit_texenv()
860 const_data.f[1] = float(1 << rgb_shift); in emit_texenv()
[all …]