Lines Matching refs:nv30
53 nv30_vertprog_validate(struct nv30_context *nv30) in nv30_vertprog_validate() argument
55 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_vertprog_validate()
56 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_vertprog_validate()
57 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
58 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_vertprog_validate()
63 if (nv30->dirty & NV30_NEW_FRAGPROG) { in nv30_vertprog_validate()
71 if (nv30->rast && nv30->rast->pipe.clip_plane_enable != vp->enabled_ucps) { in nv30_vertprog_validate()
72 vp->enabled_ucps = nv30->rast->pipe.clip_plane_enable; in nv30_vertprog_validate()
78 vp->translated = _nvfx_vertprog_translate(nv30, vp); in nv30_vertprog_validate()
80 nv30->draw_flags |= NV30_NEW_VERTPROG; in nv30_vertprog_validate()
83 nv30->dirty |= NV30_NEW_VERTPROG; in nv30_vertprog_validate()
87 struct nouveau_heap *heap = nv30->screen->vp_exec_heap; in nv30_vertprog_validate()
99 nv30->draw_flags |= NV30_NEW_VERTPROG; in nv30_vertprog_validate()
130 struct nouveau_heap *heap = nv30->screen->vp_data_heap; in nv30_vertprog_validate()
142 nv30->draw_flags |= NV30_NEW_VERTPROG; in nv30_vertprog_validate()
172 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); in nv30_vertprog_validate()
203 if (nv30->dirty & (NV30_NEW_VERTPROG | NV30_NEW_FRAGPROG)) { in nv30_vertprog_validate()
246 struct nv30_context *nv30 = nv30_context(pipe); in nv30_vp_state_bind() local
248 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
249 nv30->dirty |= NV30_NEW_VERTPROG; in nv30_vp_state_bind()