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