Home
last modified time | relevance | path

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

/third_party/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()
84 pipe_sampler_view_reference(&nv30->vertprog.textures[i], NULL); in nv40_verttex_set_sampler_views()
85 nv30->vertprog.textures[i] = views[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()
408 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_render_vbo()
414 if (nv30->vertprog.constbuf) { in nv30_render_vbo()
415 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.c60 struct nv30_vertprog *vp = nv30->vertprog.program; in nv30_vertprog_validate()
175 struct nv04_resource *res = nv04_resource(nv30->vertprog.constbuf); in nv30_vertprog_validate()
262 nv30->vertprog.program = hwcso; in nv30_vp_state_bind()
Dnv30_state.c350 pipe_resource_reference(&nv30->vertprog.constbuf, NULL); in nv30_set_constant_buffer()
351 nv30->vertprog.constbuf = buf; in nv30_set_constant_buffer()
353 pipe_resource_reference(&nv30->vertprog.constbuf, buf); in nv30_set_constant_buffer()
355 nv30->vertprog.constbuf_nr = size; in nv30_set_constant_buffer()
Dnv30_context.h86 } vertprog; member
Dnv30_state_validate.c447 if (!nv30->vertprog.program) in nv30_state_context_switch()
Dnv30_miptree.c252 util_blitter_save_vertex_shader(nv30->blitter, nv30->vertprog.program); in nv30_blit()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_shader_state.c88 struct nvc0_program *vp = nvc0->vertprog; in nvc0_vertprog_validate()
292 last = nvc0->vertprog; in nvc0_layer_validate()
318 tfb = nvc0->vertprog->tfb; in nvc0_tfb_validate()
Dnvc0_vbo_translate.c52 nvc0->vertprog->vp.need_vertex_id && (nvc0->vertex->num_elements < 32); in nvc0_push_context_init()
55 ctx->edgeflag.enabled = nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS; in nvc0_push_context_init()
107 unsigned attr = nvc0->vertprog->vp.edgeflag; in nvc0_push_map_edgeflag()
537 if (nvc0->vertprog->vp.need_draw_parameters) { in nvc0_push_vbo_indirect()
Dnvc0_context.h199 struct nvc0_program *vertprog; member
Dnvc0_state_validate.c497 if (likely(vp == nvc0->vertprog)) in nvc0_check_program_ucps()
523 vp = nvc0->vertprog; in nvc0_validate_clip()
898 if (!ctx_to->vertprog) in nvc0_switch_pipe_context()
Dnvc0_vbo.c449 unlikely(nvc0->vertprog->vp.edgeflag < PIPE_MAX_ATTRIBS)) { in nvc0_vertex_arrays_validate()
1029 …if (nvc0->vertprog->vp.need_draw_parameters && (!indirect || indirect->count_from_stream_output)) { in nvc0_draw_vbo()
Dnvc0_surface.c1067 ctx->saved.vp = nvc0->vertprog; in nvc0_blitctx_pre_blit()
1078 nvc0->vertprog = ctx->vp; in nvc0_blitctx_pre_blit()
1144 nvc0->vertprog = blit->saved.vp; in nvc0_blitctx_post_blit()
Dnvc0_program.c891 nvc0->compprog, nvc0->vertprog, nvc0->tctlprog, in nvc0_program_upload()
Dnvc0_state.c661 nvc0->vertprog = hwcso; in nvc0_vp_state_bind()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_vbo.c174 if (attr == nv50->vertprog->vp.edgeflag) { in nv50_emit_vtxattr()
851 if (nv50->vertprog->mul_zero_wins != nv50->state.mul_zero_wins) { in nv50_draw_vbo()
852 nv50->state.mul_zero_wins = nv50->vertprog->mul_zero_wins; in nv50_draw_vbo()
861 nv50->vertprog->pipe.stream_output.num_outputs) { in nv50_draw_vbo()
865 nv50->vertprog->pipe.stream_output.stride[i] * 4; in nv50_draw_vbo()
Dnv50_shader_state.c158 struct nv50_program *vp = nv50->vertprog; in nv50_vertprog_validate()
428 struct nv50_program *vp = nv50->gmtyprog ? nv50->gmtyprog : nv50->vertprog; in nv50_fp_linkage_validate()
638 struct nv50_program *vp = nv50->vertprog; in nv50_gp_linkage_validate()
671 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.h160 struct nv50_program *vertprog; member
Dnv50_push.c255 nv50->vertprog->vp.need_vertex_id && (nv50->vertex->num_elements < 32); in nv50_push_vbo()
Dnv50_surface.c1268 ctx->saved.vp = nv50->vertprog; in nv50_blitctx_pre_blit()
1277 nv50->vertprog = &blitter->vp; in nv50_blitctx_pre_blit()
1333 nv50->vertprog = blit->saved.vp; in nv50_blitctx_post_blit()
Dnv50_state.c800 nv50->vertprog = hwcso; in nv50_vp_state_bind()
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst966 - nvc0: remove hardcoded blitter vertprog