Searched refs:res_templ (Results 1 – 1 of 1) sorted by relevance
532 struct pipe_resource res_templ; in suface_from_external_memory() local560 memset(&res_templ, 0, sizeof(res_templ)); in suface_from_external_memory()561 res_templ.target = PIPE_TEXTURE_2D; in suface_from_external_memory()562 res_templ.last_level = 0; in suface_from_external_memory()563 res_templ.depth0 = 1; in suface_from_external_memory()564 res_templ.array_size = 1; in suface_from_external_memory()565 res_templ.width0 = memory_attibute->width; in suface_from_external_memory()566 res_templ.height0 = memory_attibute->height; in suface_from_external_memory()567 res_templ.format = surface->templat.buffer_format; in suface_from_external_memory()568 res_templ.bind = PIPE_BIND_SAMPLER_VIEW; in suface_from_external_memory()[all …]