Home | History | Annotate | Download | only in nv30

Lines Matching refs:nv30

30 nv40_verttex_validate(struct nv30_context *nv30)
32 struct nouveau_pushbuf *push = nv30->base.pushbuf;
33 unsigned dirty = nv30->vertprog.dirty_samplers;
37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit];
38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit];
47 nv30->vertprog.dirty_samplers = 0;
54 struct nv30_context *nv30 = nv30_context(pipe);
58 nv30->vertprog.samplers[i] = hwcso[i];
59 nv30->vertprog.dirty_samplers |= (1 << i);
62 for (; i < nv30->vertprog.num_samplers; i++) {
63 nv30->vertprog.samplers[i] = NULL;
64 nv30->vertprog.dirty_samplers |= (1 << i);
67 nv30->vertprog.num_samplers = nr;
68 nv30->dirty |= NV30_NEW_VERTTEX;
76 struct nv30_context *nv30 = nv30_context(pipe);
80 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
81 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]);
82 nv30->vertprog.dirty_samplers |= (1 << i);
85 for (; i < nv30->vertprog.num_textures; i++) {
86 nouveau_bufctx_reset(nv30->bufctx, BUFCTX_VERTTEX(i));
87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL);
88 nv30->vertprog.dirty_samplers |= (1 << i);
91 nv30->vertprog.num_textures = nr;
92 nv30->dirty |= NV30_NEW_VERTTEX;