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