Lines Matching refs:tmp_res
204 struct pipe_resource tmp_res;
213 memset(&tmp_res, 0, sizeof(tmp_res));
214 tmp_res.target = PIPE_TEXTURE_2D;
215 tmp_res.format = p->surf.format = PIPE_FORMAT_B8G8R8A8_UNORM;
216 tmp_res.width0 = w;
217 tmp_res.height0 = h;
218 tmp_res.depth0 = 1;
219 tmp_res.array_size = 1;
220 tmp_res.last_level = 0;
221 tmp_res.bind = p->surf.usage = PIPE_BIND_RENDER_TARGET;
223 if (!p->screen->is_format_supported(p->screen, tmp_res.format,
224 tmp_res.target, 1, tmp_res.bind))
228 ppq->tmp[i] = p->screen->resource_create(p->screen, &tmp_res);
236 ppq->inner_tmp[i] = p->screen->resource_create(p->screen, &tmp_res);
245 tmp_res.bind = p->surf.usage = PIPE_BIND_DEPTH_STENCIL;
247 tmp_res.format = p->surf.format = PIPE_FORMAT_S8_UINT_Z24_UNORM;
249 if (!p->screen->is_format_supported(p->screen, tmp_res.format,
250 tmp_res.target, 1, tmp_res.bind)) {
252 tmp_res.format = p->surf.format = PIPE_FORMAT_Z24_UNORM_S8_UINT;
254 if (!p->screen->is_format_supported(p->screen, tmp_res.format,
255 tmp_res.target, 1, tmp_res.bind))
259 ppq->stencil = p->screen->resource_create(p->screen, &tmp_res);