Lines Matching refs:nv30
34 nv30_fragprog_upload(struct nv30_context *nv30) in nv30_fragprog_upload() argument
36 struct nouveau_context *nv = &nv30->base; in nv30_fragprog_upload()
37 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload()
38 struct pipe_context *pipe = &nv30->base.pipe; in nv30_fragprog_upload()
61 nv30_fragprog_validate(struct nv30_context *nv30) in nv30_fragprog_validate() argument
63 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_fragprog_validate()
64 struct nouveau_object *eng3d = nv30->screen->eng3d; in nv30_fragprog_validate()
65 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate()
70 _nvfx_fragprog_translate(nv30, fp, FALSE); in nv30_fragprog_validate()
80 if (nv30->fragprog.constbuf) { in nv30_fragprog_validate()
81 struct pipe_resource *constbuf = nv30->fragprog.constbuf; in nv30_fragprog_validate()
96 nv30_fragprog_upload(nv30); in nv30_fragprog_validate()
102 if (nv30->state.fragprog != fp || upload) { in nv30_fragprog_validate()
126 nv30->state.fragprog = fp; in nv30_fragprog_validate()
158 struct nv30_context *nv30 = nv30_context(pipe); in nv30_fp_state_bind() local
160 nv30->fragprog.program = hwcso; in nv30_fp_state_bind()
161 nv30->dirty |= NV30_NEW_FRAGPROG; in nv30_fp_state_bind()