Searched refs:fragprog (Results 1 – 19 of 19) sorted by relevance
39 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 …]
37 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_upload()65 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_fragprog_validate()80 if (nv30->fragprog.constbuf) { in nv30_fragprog_validate()81 struct pipe_resource *constbuf = nv30->fragprog.constbuf; in nv30_fragprog_validate()102 if (nv30->state.fragprog != fp || upload) { in nv30_fragprog_validate()126 nv30->state.fragprog = fp; in nv30_fragprog_validate()160 nv30->fragprog.program = hwcso; in nv30_fp_state_bind()
37 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()
53 struct nv30_fragprog *fragprog; member96 } fragprog; member
340 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_validate_fragment()353 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_validate_point_coord()444 if (!nv30->fragprog.program) in nv30_state_context_switch()
342 pipe_resource_reference(&nv30->fragprog.constbuf, buf); in nv30_set_constant_buffer()343 nv30->fragprog.constbuf_nr = size; in nv30_set_constant_buffer()
223 struct nv30_fragprog *fp = r->nv30->fragprog.program; in vroute_add()386 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_render_vbo()
58 struct nv30_fragprog *fp = nv30->fragprog.program; in nv30_vertprog_validate()
291 nv30->state.fragprog = NULL; in nv30_transfer_rect_blit()334 nv30->fragprog.dirty_samplers |= 1; in nv30_transfer_rect_blit()
171 struct nv50_program *fp = nv50->fragprog; in nv50_fragprog_validate()219 struct nv50_program *fp = nv50->fragprog; in nv50_sprite_coords_validate()341 struct nv50_program *fp = nv50->fragprog; in nv50_fp_linkage_validate()
116 struct nv50_program *fragprog; member
797 blit->saved.fp = nv50->fragprog; in nv50_blitctx_pre_blit()801 nv50->fragprog = &blit->fp; in nv50_blitctx_pre_blit()841 nv50->fragprog = blit->saved.fp; in nv50_blitctx_post_blit()
313 if (!ctx_to->fragprog) in nv50_switch_pipe_context()
728 nv50->fragprog = hwcso; in nv50_fp_state_bind()
437 rasterizer_discard = (!nvc0->fragprog || !nvc0->fragprog->hdr[18]) && in nvc0_validate_derived_1()471 if (!ctx_to->fragprog) in nvc0_switch_pipe_context()
122 struct nvc0_program *fragprog; member
866 blit->saved.fp = nvc0->fragprog; in nvc0_blitctx_pre_blit()869 nvc0->fragprog = &blit->fp; in nvc0_blitctx_pre_blit()920 nvc0->fragprog = blit->saved.fp; in nvc0_blitctx_post_blit()
108 struct nvc0_program *fp = nvc0->fragprog; in nvc0_fragprog_validate()
626 nvc0->fragprog = hwcso; in nvc0_fp_state_bind()