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.c260 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local
262 assert (lima_tex->num_samplers <= 16); in lima_update_textures()
265 if (!lima_tex->num_samplers || !lima_tex->num_textures) in lima_update_textures()
269 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
270 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
281 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
282 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
290 for (int i = 0; i < lima_tex->num_samplers; i++) { in lima_update_textures()
291 struct lima_sampler_state *sampler = lima_sampler_state(lima_tex->samplers[i]); in lima_update_textures()
292 struct lima_sampler_view *texture = lima_sampler_view(lima_tex->textures[i]); in lima_update_textures()
Dlima_state.c325 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local
334 lima_tex->samplers[i] = hwcso[i]; in lima_sampler_states_bind()
337 for (; i < lima_tex->num_samplers; i++) { in lima_sampler_states_bind()
338 lima_tex->samplers[i] = NULL; in lima_sampler_states_bind()
341 lima_tex->num_samplers = new_nr; in lima_sampler_states_bind()
389 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_set_sampler_views() local
400 pipe_sampler_view_reference(&lima_tex->textures[i], NULL); in lima_set_sampler_views()
401 lima_tex->textures[i] = views[i]; in lima_set_sampler_views()
403 pipe_sampler_view_reference(&lima_tex->textures[i], views[i]); in lima_set_sampler_views()
407 for (; i < lima_tex->num_textures; i++) { in lima_set_sampler_views()
[all …]
Dlima_program.c587 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local
594 for (int i = 0; i < lima_tex->num_textures; i++) { in lima_update_fs_state()
595 struct lima_sampler_view *sampler = lima_sampler_view(lima_tex->textures[i]); in lima_update_fs_state()
603 for (int i = lima_tex->num_textures; i < ARRAY_SIZE(key->tex); i++) in lima_update_fs_state()