Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_texture.c290 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local
292 assert (lima_tex->num_samplers <= 16); in lima_update_textures()
295 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures()
299 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
300 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
313 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
314 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
322 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
323 struct lima_sampler_state *sampler = lima_sampler_state(lima_tex->samplers[i]); in lima_update_textures()
324 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
Dlima_state.c329 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local
338 lima_tex->samplers[i] = hwcso[i]; in lima_sampler_states_bind()
341 for (; i < lima_tex->num_samplers; i++) { in lima_sampler_states_bind()
342 lima_tex->samplers[i] = NULL; in lima_sampler_states_bind()
345 lima_tex->num_samplers = new_nr; in lima_sampler_states_bind()
393 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_set_sampler_views() local
404 pipe_sampler_view_reference(&lima_tex->textures[i], NULL); in lima_set_sampler_views()
405 lima_tex->textures[i] = views[i]; in lima_set_sampler_views()
407 pipe_sampler_view_reference(&lima_tex->textures[i], views[i]); in lima_set_sampler_views()
411 for (; i < lima_tex->num_textures; i++) { in lima_set_sampler_views()
[all …]
Dlima_program.c601 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local
610 for (int i = 0; i < lima_tex->num_textures; i++) { in lima_update_fs_state()
611 struct lima_sampler_view *sampler = lima_sampler_view(lima_tex->textures[i]); in lima_update_fs_state()
621 for (int i = lima_tex->num_textures; i < ARRAY_SIZE(key->tex); i++) in lima_update_fs_state()