Searched refs:res_templ (Results 1 – 1 of 1) sorted by relevance
497 struct pipe_resource res_templ; in suface_from_external_memory() local528 memset(&res_templ, 0, sizeof(res_templ)); in suface_from_external_memory()529 res_templ.target = PIPE_TEXTURE_2D; in suface_from_external_memory()530 res_templ.last_level = 0; in suface_from_external_memory()531 res_templ.depth0 = 1; in suface_from_external_memory()532 res_templ.array_size = 1; in suface_from_external_memory()533 res_templ.width0 = memory_attibute->width; in suface_from_external_memory()534 res_templ.height0 = memory_attibute->height; in suface_from_external_memory()535 res_templ.format = surface->templat.buffer_format; in suface_from_external_memory()536 res_templ.bind = PIPE_BIND_SAMPLER_VIEW; in suface_from_external_memory()[all …]