Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv40_verttex.c33 unsigned dirty = nv30->vertprog.dirty_samplers; in nv40_verttex_validate()
48 nv30->vertprog.dirty_samplers = 0; in nv40_verttex_validate()
59 nv30->vertprog.samplers[i] = hwcso[i]; in nv40_verttex_sampler_states_bind()
60 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_sampler_states_bind()
63 for (; i < nv30->vertprog.num_samplers; i++) { in nv40_verttex_sampler_states_bind()
64 nv30->vertprog.samplers[i] = NULL; in nv40_verttex_sampler_states_bind()
65 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_sampler_states_bind()
68 nv30->vertprog.num_samplers = nr; in nv40_verttex_sampler_states_bind()
82 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]); in nv40_verttex_set_sampler_views()
83 nv30->vertprog.dirty_samplers |= (1 << i); in nv40_verttex_set_sampler_views()
[all …]
Dnv30_draw.c48 struct nouveau_heap *vertprog; member
285 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_render_validate()
293 if (!r->vertprog) { in nv30_render_validate()
295 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) { in nv30_render_validate()
301 if (nouveau_heap_alloc(heap, 16, &r->vertprog, &r->vertprog)) in nv30_render_validate()
335 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate()
365 PUSH_DATA (push, r->vertprog->start); in nv30_render_validate()
406 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_render_vbo()
412 if (nv30->vertprog.constbuf) { in nv30_render_vbo()
413 void *map = nv04_resource(nv30->vertprog.constbuf)->data; in nv30_render_vbo()
[all …]
Dnv30_context.c137 for (i = 0; i < nv30->vertprog.num_textures; ++i) { in nv30_invalidate_resource_storage()
138 if (nv30->vertprog.textures[i] && in nv30_invalidate_resource_storage()
139 nv30->vertprog.textures[i]->texture == res) { in nv30_invalidate_resource_storage()
Dnv30_vertprog.c59 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
174 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); in nv30_vertprog_validate()
254 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
Dnv30_context.h86 } vertprog; member
Dnv30_state.c348 pipe_resource_reference(&nv30->vertprog.constbuf, buf); in nv30_set_constant_buffer()
349 nv30->vertprog.constbuf_nr = size; in nv30_set_constant_buffer()
Dnv30_state_validate.c447 if (!nv30->vertprog.program) in nv30_state_context_switch()
Dnv30_miptree.c233 util_blitter_save_vertex_shader(nv30->blitter, nv30->vertprog.program); in nv30_blit()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c71 struct nvc0_program *vp = nvc0->vertprog; in nvc0_vertprog_validate()
266 last = nvc0->vertprog; in nvc0_layer_validate()
286 tfb = nvc0->vertprog->tfb; in nvc0_tfb_validate()
Dnvc0_vbo_translate.c51 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32); in nvc0_push_context_init()
54 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS; in nvc0_push_context_init()
102 unsigned attr = nvc0->vertprog->vp.edgeflag; in nvc0_push_map_edgeflag()
Dnvc0_state_validate.c396 if (likely(vp == nvc0->vertprog)) in nvc0_check_program_ucps()
422 vp = nvc0->vertprog; in nvc0_validate_clip()
823 if (!ctx_to->vertprog) in nvc0_switch_pipe_context()
Dnvc0_context.h191 struct nvc0_program *vertprog; member
Dnvc0_vbo.c442 unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in nvc0_vertex_arrays_validate()
987 if (nvc0->vertprog->vp.need_draw_parameters && !info->indirect) { in nvc0_draw_vbo()
Dnvc0_surface.c1070 ctx->saved.vp = nvc0->vertprog; in nvc0_blitctx_pre_blit()
1081 nvc0->vertprog = &blitter->vp; in nvc0_blitctx_pre_blit()
1147 nvc0->vertprog = blit->saved.vp; in nvc0_blitctx_post_blit()
Dnvc0_program.c799 nvc0->compprog, nvc0->vertprog, nvc0->tctlprog, in nvc0_program_upload()
Dnvc0_state.c620 nvc0->vertprog = hwcso; in nvc0_vp_state_bind()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c153 struct nv50_program *vp = nv50->vertprog; in nv50_vertprog_validate()
422 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate()
632 struct nv50_program *vp = nv50->vertprog; in nv50_gp_linkage_validate()
665 so = nv50->gmtyprog ? nv50->gmtyprog->so : nv50->vertprog->so; in nv50_stream_output_validate()
Dnv50_state_validate.c323 if (likely(vp == nv50->vertprog)) { in nv50_check_program_ucps()
366 vp = nv50->vertprog; in nv50_validate_clip()
470 if (!ctx_to->vertprog) in nv50_switch_pipe_context()
Dnv50_context.h133 struct nv50_program *vertprog; member
Dnv50_vbo.c182 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr()
832 if (nv50->vertprog->mul_zero_wins != nv50->state.mul_zero_wins) { in nv50_draw_vbo()
833 nv50->state.mul_zero_wins = nv50->vertprog->mul_zero_wins; in nv50_draw_vbo()
Dnv50_push.c253 nv50->vertprog->vp.need_vertex_id && (nv50->vertex->num_elements < 32); in nv50_push_vbo()
Dnv50_surface.c1239 ctx->saved.vp = nv50->vertprog; in nv50_blitctx_pre_blit()
1248 nv50->vertprog = &blitter->vp; in nv50_blitctx_pre_blit()
1303 nv50->vertprog = blit->saved.vp; in nv50_blitctx_post_blit()
Dnv50_state.c796 nv50->vertprog = hwcso; in nv50_vp_state_bind()