Searched refs:new_views (Results 1 – 1 of 1) sorted by relevance
133 struct st_sampler_views *new_views = malloc(new_size); in st_texture_set_sampler_view() local134 if (!new_views) { in st_texture_set_sampler_view()139 new_views->count = views->count; in st_texture_set_sampler_view()140 new_views->max = new_max; in st_texture_set_sampler_view()141 memcpy(&new_views->views[0], &views->views[0], in st_texture_set_sampler_view()148 memset(&new_views->views[views->count], 0, in st_texture_set_sampler_view()157 p_atomic_set(&stObj->sampler_views, new_views); in st_texture_set_sampler_view()167 views = new_views; in st_texture_set_sampler_view()