Home
last modified time | relevance | path

Searched refs:cso_fb (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c52 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in disable_rb_aux_buffer() local
61 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in disable_rb_aux_buffer()
62 struct iris_surface *surf = (void *) cso_fb->cbufs[i]; in disable_rb_aux_buffer()
186 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in iris_predraw_resolve_framebuffer() local
194 struct pipe_surface *zs_surf = cso_fb->zsbuf; in iris_predraw_resolve_framebuffer()
218 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in iris_predraw_resolve_framebuffer()
219 if (cso_fb->cbufs[i]) { in iris_predraw_resolve_framebuffer()
220 struct iris_surface *surf = (void *) cso_fb->cbufs[i]; in iris_predraw_resolve_framebuffer()
221 struct iris_resource *res = (void *) cso_fb->cbufs[i]->texture; in iris_predraw_resolve_framebuffer()
232 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in iris_predraw_resolve_framebuffer()
[all …]
Diris_clear.c623 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in iris_clear() local
628 .width = cso_fb->width, in iris_clear()
629 .height = cso_fb->height, in iris_clear()
640 struct pipe_surface *psurf = cso_fb->zsbuf; in iris_clear()
651 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in iris_clear()
653 struct pipe_surface *psurf = cso_fb->cbufs[i]; in iris_clear()
Diris_state.c1636 const struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in want_pma_fix() local
1698 if (!cso_fb->zsbuf) in want_pma_fix()
1702 iris_get_depth_stencil_resources(cso_fb->zsbuf->texture, &zres, &sres); in want_pma_fix()
1707 if (!zres || !iris_resource_level_has_hiz(zres, cso_fb->zsbuf->u.tex.level)) in want_pma_fix()
5129 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in iris_populate_binding_table() local
5131 if (cso_fb->nr_cbufs) { in iris_populate_binding_table()
5132 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in iris_populate_binding_table()
5134 if (cso_fb->cbufs[i]) { in iris_populate_binding_table()
5135 addr = use_surface(ice, batch, cso_fb->cbufs[i], true, in iris_populate_binding_table()
5156 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in iris_populate_binding_table() local
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resolve.c57 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in disable_rb_aux_buffer() local
64 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in disable_rb_aux_buffer()
65 struct crocus_surface *surf = (void *) cso_fb->cbufs[i]; in disable_rb_aux_buffer()
222 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in crocus_predraw_resolve_framebuffer() local
230 struct pipe_surface *zs_surf = cso_fb->zsbuf; in crocus_predraw_resolve_framebuffer()
257 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in crocus_predraw_resolve_framebuffer()
258 if (cso_fb->cbufs[i]) { in crocus_predraw_resolve_framebuffer()
259 struct crocus_surface *surf = (void *) cso_fb->cbufs[i]; in crocus_predraw_resolve_framebuffer()
260 struct crocus_resource *res = (void *) cso_fb->cbufs[i]->texture; in crocus_predraw_resolve_framebuffer()
271 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in crocus_predraw_resolve_framebuffer()
[all …]
Dcrocus_clear.c647 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in crocus_clear() local
653 .width = cso_fb->width, in crocus_clear()
654 .height = cso_fb->height, in crocus_clear()
667 util_blitter_clear(ice->blitter, cso_fb->width, cso_fb->height, in crocus_clear()
668 util_framebuffer_get_num_layers(cso_fb), in crocus_clear()
671 struct pipe_surface *psurf = cso_fb->zsbuf; in crocus_clear()
687 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in crocus_clear()
689 struct pipe_surface *psurf = cso_fb->cbufs[i]; in crocus_clear()
Dcrocus_state.c1801 const struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in want_pma_fix() local
1863 if (!cso_fb->zsbuf) in want_pma_fix()
1868 cso_fb->zsbuf->texture, &zres, &sres); in want_pma_fix()
1873 if (!zres || !crocus_resource_level_has_hiz(zres, cso_fb->zsbuf->u.tex.level)) in want_pma_fix()
3280 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in crocus_fill_scissor_rect() local
3285 .maxx = MIN2( fabsf(vp->scale[0]) + vp->translate[0], cso_fb->width) - 1, in crocus_fill_scissor_rect()
3287 .maxy = MIN2( fabsf(vp->scale[1]) + vp->translate[1], cso_fb->height) - 1, in crocus_fill_scissor_rect()
5389 struct pipe_framebuffer_state *cso_fb = &ice->state.framebuffer; in crocus_populate_binding_table() local
5391 if (cso_fb->nr_cbufs) { in crocus_populate_binding_table()
5392 for (unsigned i = 0; i < cso_fb->nr_cbufs; i++) { in crocus_populate_binding_table()
[all …]