Home
last modified time | relevance | path

Searched refs:vertprog (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv30/
Dnv40_verttex.c33 unsigned dirty = nv30->vertprog.dirty_samplers; in nv40_verttex_validate()
47 nv30->vertprog.dirty_samplers = 0; in nv40_verttex_validate()
58 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
59 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_sampler_states_bind()
62 for (; i < nv30->vertprog.num_samplers; i++) { in nv40_verttex_sampler_states_bind()
63 nv30->vertprog.samplers[i] = NULL; in nv40_verttex_sampler_states_bind()
64 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_sampler_states_bind()
67 nv30->vertprog.num_samplers = nr; in nv40_verttex_sampler_states_bind()
81 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views()
82 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_set_sampler_views()
[all …]
Dnv30_draw.c48 struct nouveau_heap *vertprog; member
274 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_render_validate()
282 if (!r->vertprog) { in nv30_render_validate()
284 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) { in nv30_render_validate()
290 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) in nv30_render_validate()
324 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate()
351 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate()
392 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_render_vbo()
398 if (nv30->vertprog.constbuf) { in nv30_render_vbo()
399 void *map = nv04_resource(nv30->vertprog.constbuf)->data; in nv30_render_vbo()
[all …]
Dnv30_vertprog.c57 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
172 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); in nv30_vertprog_validate()
248 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
Dnv30_context.h83 } vertprog; member
Dnv30_state.c337 pipe_resource_reference(&nv30->vertprog.constbuf, buf); in nv30_set_constant_buffer()
338 nv30->vertprog.constbuf_nr = size; in nv30_set_constant_buffer()
Dnv30_state_validate.c442 if (!nv30->vertprog.program) in nv30_state_context_switch()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_push.c47 ctx->need_vertex_id = nvc0->vertprog->vp.need_vertex_id; in init_push_context()
54 if (unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in init_push_context()
55 ve = &nvc0->vertex->element[nvc0->vertprog->vp.edgeflag].pipe; in init_push_context()
Dnvc0_shader_state.c88 struct nvc0_program *vp = nvc0->vertprog; in nvc0_vertprog_validate()
222 tfb = nvc0->vertprog->tfb; in nvc0_tfb_validate()
Dnvc0_state_validate.c278 if (likely(vp == nvc0->vertprog)) in nvc0_check_program_ucps()
304 vp = nvc0->vertprog; in nvc0_validate_clip()
469 if (!ctx_to->vertprog) in nvc0_switch_pipe_context()
Dnvc0_vbo_translate.c48 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32); in nvc0_push_context_init()
51 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS; in nvc0_push_context_init()
97 unsigned attr = nvc0->vertprog->vp.edgeflag; in nvc0_push_map_edgeflag()
Dnvc0_context.h118 struct nvc0_program *vertprog; member
Dnvc0_surface.c862 blit->saved.vp = nvc0->vertprog; in nvc0_blitctx_pre_blit()
868 nvc0->vertprog = &blit->vp; in nvc0_blitctx_pre_blit()
916 nvc0->vertprog = blit->saved.vp; in nvc0_blitctx_post_blit()
Dnvc0_vbo.c422 unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in nvc0_vertex_arrays_validate()
Dnvc0_state.c610 nvc0->vertprog = hwcso; in nvc0_vp_state_bind()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_shader_state.c150 struct nv50_program *vp = nv50->vertprog; in nv50_vertprog_validate()
340 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate()
524 struct nv50_program *vp = nv50->vertprog; in nv50_gp_linkage_validate()
556 so = nv50->gmtyprog ? nv50->gmtyprog->so : nv50->vertprog->so; in nv50_stream_output_validate()
Dnv50_state_validate.c214 if (likely(vp == nv50->vertprog)) { in nv50_check_program_ucps()
240 vp = nv50->vertprog; in nv50_validate_clip()
311 if (!ctx_to->vertprog) in nv50_switch_pipe_context()
Dnv50_context.h114 struct nv50_program *vertprog; member
Dnv50_surface.c795 blit->saved.vp = nv50->vertprog; in nv50_blitctx_pre_blit()
799 nv50->vertprog = &blit->vp; in nv50_blitctx_pre_blit()
839 nv50->vertprog = blit->saved.vp; in nv50_blitctx_post_blit()
Dnv50_vbo.c167 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr()
Dnv50_state.c712 nv50->vertprog = hwcso; in nv50_vp_state_bind()