Home | History | Annotate | Download | only in main

Lines Matching defs:shift

816       rgb_saturate = GL_FALSE;  /* saturate after rgb shift */
823 alpha_saturate = GL_FALSE; /* saturate after alpha shift */
883 /* Deal with the final shift:
886 ir_constant *shift;
889 shift = new(p->mem_ctx) ir_constant((float)(1 << rgb_shift));
898 shift = new(p->mem_ctx) ir_constant(glsl_type::vec4_type,
902 return saturate(mul(deref, shift));