Home | History | Annotate | Download | only in i915

Lines Matching defs:nr

111                GLuint type, GLuint nr, GLuint d0_flags)
113 GLuint reg = UREG(type, nr);
116 if (p->decl_t & (1 << nr))
119 p->decl_t |= (1 << nr);
122 if (p->decl_s & (1 << nr))
125 p->decl_s |= (1 << nr);
500 i915_program_error(p, "Exceeded max nr indirect texture lookups "
563 GLuint nr = p->nr_constants;
568 i915->state.Constant[0] = _3DSTATE_PIXEL_SHADER_CONSTANTS | ((nr) * 4);
569 i915->state.Constant[1] = (1 << (nr - 1)) | ((1 << (nr - 1)) - 1);
571 memcpy(&i915->state.Constant[2], p->constant, 4 * sizeof(int) * (nr));
572 i915->state.ConstantSize = 2 + (nr) * 4;
576 for (i = 0; i < nr; i++) {