Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_fragtex.c39 unsigned dirty = nv30->fragprog.dirty_samplers; in nv30_fragtex_validate()
43 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv30_fragtex_validate()
44 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; in nv30_fragtex_validate()
149 nv30->fragprog.dirty_samplers = 0; in nv30_fragtex_validate()
160 nv30->fragprog.samplers[i] = hwcso[i]; in nv30_fragtex_sampler_states_bind()
161 nv30->fragprog.dirty_samplers |= (1 << i); in nv30_fragtex_sampler_states_bind()
164 for (; i < nv30->fragprog.num_samplers; i++) { in nv30_fragtex_sampler_states_bind()
165 nv30->fragprog.samplers[i] = NULL; in nv30_fragtex_sampler_states_bind()
166 nv30->fragprog.dirty_samplers |= (1 << i); in nv30_fragtex_sampler_states_bind()
169 nv30->fragprog.num_samplers = nr; in nv30_fragtex_sampler_states_bind()
[all …]
Dnv30_fragprog.c38 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload()
70 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate()
85 if (nv30->fragprog.constbuf) { in nv30_fragprog_validate()
86 struct pipe_resource *constbuf = nv30->fragprog.constbuf; in nv30_fragprog_validate()
107 if (nv30->state.fragprog != fp || upload) { in nv30_fragprog_validate()
131 nv30->state.fragprog = fp; in nv30_fragprog_validate()
173 if (fp != nv30->state.fragprog) in nv30_fp_state_bind()
176 nv30->fragprog.program = fp; in nv30_fp_state_bind()
Dnv40_verttex.c37 struct nv30_sampler_view *sv = (void *)nv30->fragprog.textures[unit]; in nv40_verttex_validate()
38 struct nv30_sampler_state *ss = nv30->fragprog.samplers[unit]; in nv40_verttex_validate()
Dnv30_context.c128 for (i = 0; i < nv30->fragprog.num_textures; ++i) { in nv30_invalidate_resource_storage()
129 if (nv30->fragprog.textures[i] && in nv30_invalidate_resource_storage()
130 nv30->fragprog.textures[i]->texture == res) { in nv30_invalidate_resource_storage()
Dnv30_context.h56 struct nv30_fragprog *fragprog; member
99 } fragprog; member
Dnv30_state.c360 pipe_resource_reference(&nv30->fragprog.constbuf, NULL); in nv30_set_constant_buffer()
361 nv30->fragprog.constbuf = buf; in nv30_set_constant_buffer()
363 pipe_resource_reference(&nv30->fragprog.constbuf, buf); in nv30_set_constant_buffer()
365 nv30->fragprog.constbuf_nr = size; in nv30_set_constant_buffer()
Dnv30_miptree.c256 util_blitter_save_fragment_shader(nv30->blitter, nv30->fragprog.program); in nv30_blit()
264 nv30->fragprog.num_samplers, in nv30_blit()
265 (void**)nv30->fragprog.samplers); in nv30_blit()
267 nv30->fragprog.num_textures, nv30->fragprog.textures); in nv30_blit()
Dnv30_state_validate.c345 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_validate_fragment()
358 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_validate_point_coord()
449 if (!nv30->fragprog.program) in nv30_state_context_switch()
Dnv30_draw.c227 struct nv30_fragprog *fp = r->nv30->fragprog.program; in vroute_add()
402 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_render_vbo()
Dnv30_vertprog.c60 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_vertprog_validate()
Dnv30_transfer.c292 nv30->state.fragprog = NULL; in nv30_transfer_rect_blit()
335 nv30->fragprog.dirty_samplers |= 1; in nv30_transfer_rect_blit()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c703 if (nvc0->fragprog && ( in nvc0_validate_min_samples()
704 nvc0->fragprog->fp.sample_mask_in || in nvc0_validate_min_samples()
705 nvc0->fragprog->fp.reads_framebuffer)) in nvc0_validate_min_samples()
738 (!nvc0->fragprog || !nvc0->fragprog->hdr[18]); in nvc0_validate_fp_zsa_rast()
809 if (nvc0->fragprog && in nvc0_validate_fbread()
810 nvc0->fragprog->fp.reads_framebuffer && in nvc0_validate_fbread()
900 if (!ctx_to->fragprog) in nvc0_switch_pipe_context()
Dnvc0_context.h203 struct nvc0_program *fragprog; member
Dnvc0_shader_state.c108 struct nvc0_program *fp = nvc0->fragprog; in nvc0_fragprog_validate()
Dnvc0_surface.c1071 ctx->saved.fp = nvc0->fragprog; in nvc0_blitctx_pre_blit()
1082 nvc0->fragprog = ctx->fp; in nvc0_blitctx_pre_blit()
1148 nvc0->fragprog = blit->saved.fp; in nvc0_blitctx_post_blit()
Dnvc0_program.c892 nvc0->tevlprog, nvc0->gmtyprog, nvc0->fragprog in nvc0_program_upload()
Dnvc0_state.c677 nvc0->fragprog = hwcso; in nvc0_fp_state_bind()
/third_party/mesa3d/docs/relnotes/
D10.5.7.rst58 - nv30: don't leak fragprog consts
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_shader_state.c179 struct nv50_program *fp = nv50->fragprog; in nv50_fragprog_validate()
307 struct nv50_program *fp = nv50->fragprog; in nv50_sprite_coords_validate()
429 struct nv50_program *fp = nv50->fragprog; in nv50_fp_linkage_validate()
Dnv50_context.h162 struct nv50_program *fragprog; member
Dnv50_surface.c1270 ctx->saved.fp = nv50->fragprog; in nv50_blitctx_pre_blit()
1279 nv50->fragprog = ctx->fp; in nv50_blitctx_pre_blit()
1335 nv50->fragprog = blit->saved.fp; in nv50_blitctx_post_blit()
Dnv50_state_validate.c472 if (!ctx_to->fragprog) in nv50_switch_pipe_context()
Dnv50_state.c816 nv50->fragprog = hwcso; in nv50_fp_state_bind()