Searched refs:newtex (Results 1 – 2 of 2) sorted by relevance
65 struct pipe_resource pt, *newtex; in st_texture_create() local94 newtex = screen->resource_create(screen, &pt); in st_texture_create()96 assert(!newtex || pipe_is_referenced(&newtex->reference)); in st_texture_create()98 return newtex; in st_texture_create()
241 struct pipe_resource pt, *newtex; in image_create() local272 newtex = screen->resource_create(screen, &pt); in image_create()274 debug_assert(newtex); in image_create()276 u_sampler_view_default_template(&view_templ, newtex, newtex->format); in image_create()278 if (newtex->format == PIPE_FORMAT_A8_UNORM) { in image_create()284 view = pipe->create_sampler_view(pipe, newtex, &view_templ); in image_create()286 pipe_resource_reference(&newtex, NULL); in image_create()