/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv40_verttex.c | 33 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 …]
|
D | nv30_draw.c | 48 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 …]
|
D | nv30_context.c | 137 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()
|
D | nv30_vertprog.c | 59 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()
|
D | nv30_context.h | 86 } vertprog; member
|
D | nv30_state.c | 348 pipe_resource_reference(&nv30->vertprog.constbuf, buf); in nv30_set_constant_buffer() 349 nv30->vertprog.constbuf_nr = size; in nv30_set_constant_buffer()
|
D | nv30_state_validate.c | 447 if (!nv30->vertprog.program) in nv30_state_context_switch()
|
D | nv30_miptree.c | 233 util_blitter_save_vertex_shader(nv30->blitter, nv30->vertprog.program); in nv30_blit()
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_shader_state.c | 71 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()
|
D | nvc0_vbo_translate.c | 51 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()
|
D | nvc0_state_validate.c | 396 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()
|
D | nvc0_context.h | 191 struct nvc0_program *vertprog; member
|
D | nvc0_vbo.c | 442 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()
|
D | nvc0_surface.c | 1070 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()
|
D | nvc0_program.c | 799 nvc0->compprog, nvc0->vertprog, nvc0->tctlprog, in nvc0_program_upload()
|
D | nvc0_state.c | 620 nvc0->vertprog = hwcso; in nvc0_vp_state_bind()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_shader_state.c | 153 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()
|
D | nv50_state_validate.c | 323 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()
|
D | nv50_context.h | 133 struct nv50_program *vertprog; member
|
D | nv50_vbo.c | 182 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()
|
D | nv50_push.c | 253 nv50->vertprog->vp.need_vertex_id && (nv50->vertex->num_elements < 32); in nv50_push_vbo()
|
D | nv50_surface.c | 1239 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()
|
D | nv50_state.c | 796 nv50->vertprog = hwcso; in nv50_vp_state_bind()
|