Lines Matching refs:fragprog
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()
183 pipe_sampler_view_reference(&nv30->fragprog.textures[i], views[i]); in nv30_fragtex_set_sampler_views()
184 nv30->fragprog.dirty_samplers |= (1 << i); in nv30_fragtex_set_sampler_views()
187 for (; i < nv30->fragprog.num_textures; i++) { in nv30_fragtex_set_sampler_views()
189 pipe_sampler_view_reference(&nv30->fragprog.textures[i], NULL); in nv30_fragtex_set_sampler_views()
190 nv30->fragprog.dirty_samplers |= (1 << i); in nv30_fragtex_set_sampler_views()
193 nv30->fragprog.num_textures = nr; in nv30_fragtex_set_sampler_views()