Searched refs:lima_tex (Results 1 – 3 of 3) sorted by relevance
290 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local292 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()
329 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local338 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() local404 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 …]
601 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local610 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()