Searched refs:lima_tex (Results 1 – 3 of 3) sorted by relevance
260 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_textures() local262 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()
325 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_sampler_states_bind() local334 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() local400 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 …]
587 struct lima_texture_stateobj *lima_tex = &ctx->tex_stateobj; in lima_update_fs_state() local594 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()