Home
last modified time | relevance | path

Searched refs:newtex (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_texture.c65 struct pipe_resource pt, *newtex; in st_texture_create() local
94 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()
/external/mesa3d/src/gallium/state_trackers/vega/
Dimage.c241 struct pipe_resource pt, *newtex; in image_create() local
272 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()