Searched refs:new_views (Results 1 – 1 of 1) sorted by relevance
101 struct st_sampler_views *new_views = malloc(new_size); in st_texture_set_sampler_view() local102 if (!new_views) { in st_texture_set_sampler_view()107 new_views->count = views->count; in st_texture_set_sampler_view()108 new_views->max = new_max; in st_texture_set_sampler_view()109 memcpy(&new_views->views[0], &views->views[0], in st_texture_set_sampler_view()116 memset(&new_views->views[views->count], 0, in st_texture_set_sampler_view()125 p_atomic_set(&stObj->sampler_views, new_views); in st_texture_set_sampler_view()135 views = new_views; in st_texture_set_sampler_view()