Lines Matching refs:tmplt
131 struct pipe_resource tmplt;
132 memset(&tmplt, 0, sizeof(tmplt));
133 tmplt.target = PIPE_TEXTURE_2D;
134 tmplt.format = PIPE_FORMAT_B8G8R8A8_UNORM; /* All drivers support this */
135 tmplt.width0 = WIDTH;
136 tmplt.height0 = HEIGHT;
137 tmplt.depth0 = 1;
138 tmplt.array_size = 1;
139 tmplt.last_level = 0;
140 tmplt.bind = PIPE_BIND_RENDER_TARGET;
142 p->target = p->screen->resource_create(p->screen, &tmplt);