Searched refs:vertprog (Results 1 – 20 of 20) sorted by relevance
/external/mesa3d/src/gallium/drivers/nv30/ |
D | nv40_verttex.c | 33 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 …]
|
D | nv30_draw.c | 48 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 …]
|
D | nv30_vertprog.c | 57 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()
|
D | nv30_context.h | 83 } vertprog; member
|
D | nv30_state.c | 337 pipe_resource_reference(&nv30->vertprog.constbuf, buf); in nv30_set_constant_buffer() 338 nv30->vertprog.constbuf_nr = size; in nv30_set_constant_buffer()
|
D | nv30_state_validate.c | 442 if (!nv30->vertprog.program) in nv30_state_context_switch()
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_push.c | 47 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()
|
D | nvc0_shader_state.c | 88 struct nvc0_program *vp = nvc0->vertprog; in nvc0_vertprog_validate() 222 tfb = nvc0->vertprog->tfb; in nvc0_tfb_validate()
|
D | nvc0_state_validate.c | 278 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()
|
D | nvc0_vbo_translate.c | 48 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()
|
D | nvc0_context.h | 118 struct nvc0_program *vertprog; member
|
D | nvc0_surface.c | 862 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()
|
D | nvc0_vbo.c | 422 unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in nvc0_vertex_arrays_validate()
|
D | nvc0_state.c | 610 nvc0->vertprog = hwcso; in nvc0_vp_state_bind()
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_shader_state.c | 150 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()
|
D | nv50_state_validate.c | 214 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()
|
D | nv50_context.h | 114 struct nv50_program *vertprog; member
|
D | nv50_surface.c | 795 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()
|
D | nv50_vbo.c | 167 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr()
|
D | nv50_state.c | 712 nv50->vertprog = hwcso; in nv50_vp_state_bind()
|