Searched refs:lima_tex (Results 1 – 3 of 3) sorted by relevance
263 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local265 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()
307 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local316 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() local373 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()
380 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local391 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()