Lines Matching full:unit
42 unsigned unit = ffs(dirty) - 1;
43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit];
44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit];
46 PUSH_RESET(push, BUFCTX_FRAGTEX(unit));
90 BEGIN_NV04(push, NV40_3D(TEX_SIZE1(unit)), 1);
126 BEGIN_NV04(push, NV30_3D(TEX_OFFSET(unit)), 8);
127 PUSH_MTHDl(push, NV30_3D(TEX_OFFSET(unit)), BUFCTX_FRAGTEX(unit),
129 PUSH_MTHDs(push, NV30_3D(TEX_FORMAT(unit)), BUFCTX_FRAGTEX(unit),
139 BEGIN_NV04(push, NV30_3D(TEX_FILTER_OPTIMIZATION(unit)), 1);
142 BEGIN_NV04(push, NV30_3D(TEX_ENABLE(unit)), 1);
146 dirty &= ~(1 << unit);