Searched refs:vertprog (Results 1 - 25 of 47) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c33 unsigned dirty = nv30->vertprog.dirty_samplers;
48 nv30->vertprog.dirty_samplers = 0;
59 nv30->vertprog.samplers[i] = hwcso[i];
60 nv30->vertprog.dirty_samplers |= (1 << i);
63 for (; i < nv30->vertprog.num_samplers; i++) {
64 nv30->vertprog.samplers[i] = NULL;
65 nv30->vertprog.dirty_samplers |= (1 << i);
68 nv30->vertprog.num_samplers = nr;
84 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL);
85 nv30->vertprog
[all...]
H A Dnv30_draw.c48 struct nouveau_heap *vertprog; member in struct:nv30_render
285 struct nv30_vertprog *vp = nv30->vertprog.program;
293 if (!r->vertprog) {
295 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) {
301 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog))
335 PUSH_DATA (push, r->vertprog->start);
365 PUSH_DATA (push, r->vertprog->start);
408 struct nv30_vertprog *vp = nv30->vertprog
[all...]
H A Dnv30_context.c137 for (i = 0; i < nv30->vertprog.num_textures; ++i) {
138 if (nv30->vertprog.textures[i] &&
139 nv30->vertprog.textures[i]->texture == res) {
H A Dnv30_vertprog.c59 struct nv30_vertprog *vp = nv30->vertprog.program;
174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf);
254 nv30->vertprog.program = hwcso;
H A Dnv30_context.h86 } vertprog; member in struct:nv30_context
H A Dnv30_state.c350 pipe_resource_reference(&nv30->vertprog.constbuf, NULL);
351 nv30->vertprog.constbuf = buf;
353 pipe_resource_reference(&nv30->vertprog.constbuf, buf);
355 nv30->vertprog.constbuf_nr = size;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c33 unsigned dirty = nv30->vertprog.dirty_samplers;
48 nv30->vertprog.dirty_samplers = 0;
59 nv30->vertprog.samplers[i] = hwcso[i];
60 nv30->vertprog.dirty_samplers |= (1 << i);
63 for (; i < nv30->vertprog.num_samplers; i++) {
64 nv30->vertprog.samplers[i] = NULL;
65 nv30->vertprog.dirty_samplers |= (1 << i);
68 nv30->vertprog.num_samplers = nr;
82 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]);
83 nv30->vertprog
[all...]
H A Dnv30_draw.c48 struct nouveau_heap *vertprog; member in struct:nv30_render
285 struct nv30_vertprog *vp = nv30->vertprog.program;
293 if (!r->vertprog) {
295 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) {
301 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog))
335 PUSH_DATA (push, r->vertprog->start);
365 PUSH_DATA (push, r->vertprog->start);
406 struct nv30_vertprog *vp = nv30->vertprog
[all...]
H A Dnv30_context.c137 for (i = 0; i < nv30->vertprog.num_textures; ++i) {
138 if (nv30->vertprog.textures[i] &&
139 nv30->vertprog.textures[i]->texture == res) {
H A Dnv30_vertprog.c59 struct nv30_vertprog *vp = nv30->vertprog.program;
174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf);
254 nv30->vertprog.program = hwcso;
H A Dnv30_context.h86 } vertprog; member in struct:nv30_context
H A Dnv30_state.c348 pipe_resource_reference(&nv30->vertprog.constbuf, buf);
349 nv30->vertprog.constbuf_nr = size;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_shader_state.c71 struct nvc0_program *vp = nvc0->vertprog;
266 last = nvc0->vertprog;
286 tfb = nvc0->vertprog->tfb;
H A Dnvc0_vbo_translate.c51 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32);
54 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS;
106 unsigned attr = nvc0->vertprog->vp.edgeflag;
529 if (nvc0->vertprog->vp.need_draw_parameters) {
H A Dnvc0_context.h198 struct nvc0_program *vertprog; member in struct:nvc0_context
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_shader_state.c88 struct nvc0_program *vp = nvc0->vertprog;
292 last = nvc0->vertprog;
318 tfb = nvc0->vertprog->tfb;
H A Dnvc0_vbo_translate.c52 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32);
55 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS;
107 unsigned attr = nvc0->vertprog->vp.edgeflag;
537 if (nvc0->vertprog->vp.need_draw_parameters) {
H A Dnvc0_context.h199 struct nvc0_program *vertprog; member in struct:nvc0_context
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_vbo.c174 if (attr == nv50->vertprog->vp.edgeflag) {
851 if (nv50->vertprog->mul_zero_wins != nv50->state.mul_zero_wins) {
852 nv50->state.mul_zero_wins = nv50->vertprog->mul_zero_wins;
861 nv50->vertprog->pipe.stream_output.num_outputs) {
865 nv50->vertprog->pipe.stream_output.stride[i] * 4;
H A Dnv50_context.h160 struct nv50_program *vertprog; member in struct:nv50_context
H A Dnv50_shader_state.c158 struct nv50_program *vp = nv50->vertprog;
428 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog;
638 struct nv50_program *vp = nv50->vertprog;
671 so = nv50->gmtyprog ? nv50->gmtyprog->so : nv50->vertprog->so;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv50_context.h133 struct nv50_program *vertprog; member in struct:nv50_context
H A Dnv50_shader_state.c153 struct nv50_program *vp = nv50->vertprog;
423 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog;
633 struct nv50_program *vp = nv50->vertprog;
666 so = nv50->gmtyprog ? nv50->gmtyprog->so : nv50->vertprog->so;
H A Dnv50_state_validate.c323 if (likely(vp == nv50->vertprog)) {
366 vp = nv50->vertprog;
470 if (!ctx_to->vertprog)
H A Dnv50_vbo.c182 if (attr == nv50->vertprog->vp.edgeflag) {
832 if (nv50->vertprog->mul_zero_wins != nv50->state.mul_zero_wins) {
833 nv50->state.mul_zero_wins = nv50->vertprog->mul_zero_wins;

Completed in 39 milliseconds

12