Lines Matching defs:t_tmplt
159 struct pipe_resource t_tmplt;
163 memset(&t_tmplt, 0, sizeof(t_tmplt));
164 t_tmplt.target = PIPE_TEXTURE_2D;
165 t_tmplt.format = PIPE_FORMAT_B8G8R8A8_UNORM; /* All drivers support this */
166 t_tmplt.width0 = 2;
167 t_tmplt.height0 = 2;
168 t_tmplt.depth0 = 1;
169 t_tmplt.array_size = 1;
170 t_tmplt.last_level = 0;
171 t_tmplt.bind = PIPE_BIND_RENDER_TARGET;
173 p->tex = p->screen->resource_create(p->screen, &t_tmplt);