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.c145 GLuint rgb_shift; in i830SetTexEnvCombine() local
172 rgb_shift = 0; in i830SetTexEnvCombine()
177 rgb_shift = 0; in i830SetTexEnvCombine()
181 rgb_shift = combine->ScaleShiftRGB; in i830SetTexEnvCombine()
218 blendop |= (rgb_shift << TEXOP_SCALE_SHIFT); in i830SetTexEnvCombine()
/external/mesa3d/src/mesa/main/
Dff_fragment_shader.cpp787 GLuint rgb_shift, alpha_shift; in emit_texenv() local
800 rgb_shift = 0; in emit_texenv()
804 rgb_shift = 0; in emit_texenv()
807 rgb_shift = key->unit[unit].ScaleShiftRGB; in emit_texenv()
815 if (rgb_shift) in emit_texenv()
885 if (alpha_shift || rgb_shift) { in emit_texenv()
888 if (rgb_shift == alpha_shift) { in emit_texenv()
889 shift = new(p->mem_ctx) ir_constant((float)(1 << rgb_shift)); in emit_texenv()
893 1 << rgb_shift, in emit_texenv()
894 1 << rgb_shift, in emit_texenv()
[all …]