Searched defs:newtex (Results 1 - 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
H A Dst_texture.c65 struct pipe_resource pt, *newtex; local
94 newtex = screen->resource_create(screen, &pt);
96 assert(!newtex || pipe_is_referenced(&newtex->reference));
98 return newtex;
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dimage.c241 struct pipe_resource pt, *newtex; local
272 newtex = screen->resource_create(screen, &pt);
274 debug_assert(newtex);
276 u_sampler_view_default_template(&view_templ, newtex, newtex->format);
278 if (newtex->format == PIPE_FORMAT_A8_UNORM) {
284 view = pipe->create_sampler_view(pipe, newtex, &view_templ);
286 pipe_resource_reference(&newtex, NULL);

Completed in 74 milliseconds