Searched refs:res_templ (Results 1 – 1 of 1) sorted by relevance
567 struct pipe_resource res_templ; in surface_from_external_memory() local591 memset(&res_templ, 0, sizeof(res_templ)); in surface_from_external_memory()592 res_templ.target = PIPE_TEXTURE_2D; in surface_from_external_memory()593 res_templ.last_level = 0; in surface_from_external_memory()594 res_templ.depth0 = 1; in surface_from_external_memory()595 res_templ.array_size = 1; in surface_from_external_memory()596 res_templ.width0 = memory_attribute->width; in surface_from_external_memory()597 res_templ.height0 = memory_attribute->height; in surface_from_external_memory()598 res_templ.bind = PIPE_BIND_SAMPLER_VIEW; in surface_from_external_memory()599 res_templ.usage = PIPE_USAGE_DEFAULT; in surface_from_external_memory()[all …]