Lines Matching refs:templ
88 struct pipe_resource templ;
89 memset(&templ, 0, sizeof(templ));
90 templ.target = PIPE_BUFFER;
91 templ.format = PIPE_FORMAT_R8_UNORM;
92 templ.bind = allocator->bind;
93 templ.usage = allocator->usage;
94 templ.flags = allocator->flags;
95 templ.width0 = allocator->size;
96 templ.height0 = 1;
97 templ.depth0 = 1;
98 templ.array_size = 1;
101 allocator->buffer = screen->resource_create(screen, &templ);