Home | History | Annotate | Download | only in nv50

Lines Matching refs:so

9  * Software is furnished to do so, subject to the following conditions:
38 struct nv50_vertex_stateobj *so = hwcso;
40 if (so->translate)
41 so->translate->release(so->translate);
50 struct nv50_vertex_stateobj *so;
54 so = MALLOC(sizeof(*so) +
56 if (!so)
58 so->num_elements = num_elements;
59 so->instance_elts = 0;
60 so->instance_bufs = 0;
61 so->need_conversion = FALSE;
63 memset(so->vb_access_size, 0, sizeof(so->vb_access_size));
66 so->min_instance_div[i] = 0xffffffff;
77 so->element[i].pipe = elements[i];
78 so->element[i].state = nv50_format_table[fmt].vtx;
80 if (!so->element[i].state) {
90 so->element[i].state = nv50_format_table[fmt].vtx;
91 so->need_conversion = TRUE;
93 so->element[i].state |= i;
96 if (so->vb_access_size[vbi] < (ve->src_offset + size))
97 so->vb_access_size[vbi] = ve->src_offset + size;
113 so->instance_elts |= 1 << i;
114 so->instance_bufs |= 1 << vbi;
115 if (ve->instance_divisor < so->min_instance_div[vbi])
116 so->min_instance_div[vbi] = ve->instance_divisor;
121 so->translate = translate_create(&transkey);
122 so->vertex_size = transkey.output_stride / 4;
123 so->packet_vertex_limit = NV04_PFIFO_MAX_PACKET_LEN /
124 MAX2(so->vertex_size, 1);
126 return so;
665 struct nv50_so_target *so = nv50_so_target(info->count_from_stream_output);
666 struct nv04_resource *res = nv04_resource(so->pipe.buffer);
672 * so don't bother.
697 nv50_query_pushbuf_submit(push, so->pq, 0x4);