Home
last modified time | relevance | path

Searched refs:lima_tex (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/lima/
Dlima_texture.c263 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local
265 assert (lima_tex->num_samplers <= 16); in lima_update_textures()
268 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures()
272 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
273 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
284 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
285 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
293 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
294 struct lima_sampler_state *sampler = lima_sampler_state(lima_tex->samplers[i]); in lima_update_textures()
295 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
Dlima_state.c307 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local
316 lima_tex->samplers[i] = hwcso[i]; in lima_sampler_states_bind()
319 for (; i < lima_tex->num_samplers; i++) { in lima_sampler_states_bind()
320 lima_tex->samplers[i] = NULL; in lima_sampler_states_bind()
323 lima_tex->num_samplers = new_nr; in lima_sampler_states_bind()
364 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_set_sampler_views() local
373 pipe_sampler_view_reference(&lima_tex->textures[i], views[i]); in lima_set_sampler_views()
376 for (; i < lima_tex->num_textures; i++) { in lima_set_sampler_views()
377 pipe_sampler_view_reference(&lima_tex->textures[i], NULL); in lima_set_sampler_views()
380 lima_tex->num_textures = new_nr; in lima_set_sampler_views()
Dlima_program.c380 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local
391 lima_tex->num_samplers && in lima_update_fs_state()
392 lima_tex->num_textures)) { in lima_update_fs_state()
397 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_fs_state()
398 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_fs_state()
414 for (int i = lima_tex->num_samplers; i < PIPE_MAX_SAMPLERS; i++) in lima_update_fs_state()