Lines Matching refs:tmplt
140 struct pipe_resource tmplt;
141 memset(&tmplt, 0, sizeof(tmplt));
142 tmplt.target = PIPE_TEXTURE_2D;
143 tmplt.format = PIPE_FORMAT_B8G8R8A8_UNORM; /* All drivers support this */
144 tmplt.width0 = WIDTH;
145 tmplt.height0 = HEIGHT;
146 tmplt.depth0 = 1;
147 tmplt.array_size = 1;
148 tmplt.last_level = 0;
149 tmplt.bind = PIPE_BIND_RENDER_TARGET;
151 p->target = p->screen->resource_create(p->screen, &tmplt);