| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_clear.c | 507 struct iris_resource *z_res; local 512 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); 513 if (z_res && clear_depth && 514 can_fast_clear_depth(ice, z_res, level, box, depth)) { 515 fast_clear_depth(ice, z_res, level, box, depth); 518 z_res = false; 528 if (z_res) { 529 iris_resource_prepare_depth(ice, batch, z_res, level, box->z, box->depth); 530 iris_blorp_surf_for_resource(&ice->vtbl, &z_surf, &z_res->base, 531 z_res->aux.usage, level, true) [all...] |
| iris_resolve.c | 185 struct iris_resource *z_res, *s_res; local 186 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); 190 if (z_res) { 191 iris_resource_prepare_depth(ice, batch, z_res, 195 iris_cache_flush_for_depth(batch, z_res->bo); 260 struct iris_resource *z_res, *s_res; local 261 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); 265 if (z_res) { 267 iris_resource_finish_depth(ice, z_res, zs_surf->u.tex.level, 273 iris_depth_cache_add_bo(batch, z_res->bo) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_clear.c | 575 struct iris_resource *z_res; local 580 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); 581 if (z_res && clear_depth && 582 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, 584 fast_clear_depth(ice, z_res, level, box, depth); 588 z_res = false; 598 if (clear_depth && z_res) { 600 iris_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, 602 iris_resource_prepare_render(ice, z_res, level, box->z, box->depth [all...] |
| iris_resolve.c | 197 struct iris_resource *z_res, *s_res; local 198 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); 202 if (z_res) { 203 iris_resource_prepare_render(ice, z_res, zs_surf->u.tex.level, 206 iris_emit_buffer_barrier_for(batch, z_res->bo, 287 struct iris_resource *z_res, *s_res; local 288 iris_get_depth_stencil_resources(zs_surf->texture, &z_res, &s_res); 292 if (z_res) { 294 iris_resource_finish_render(ice, z_res, zs_surf->u.tex.level,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_clear.c | 564 struct crocus_resource *z_res; local 569 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res); 570 if (z_res && clear_depth && 571 can_fast_clear_depth(ice, z_res, level, box, render_condition_enabled, 573 fast_clear_depth(ice, z_res, level, box, depth); 577 z_res = NULL; 587 if (clear_depth && z_res) { 589 crocus_resource_render_aux_usage(ice, z_res, level, z_res->surf.format, 591 crocus_resource_prepare_render(ice, z_res, level, box->z, box->depth [all...] |
| crocus_resolve.c | 233 struct crocus_resource *z_res, *s_res; local 234 crocus_get_depth_stencil_resources(devinfo, zs_surf->texture, &z_res, &s_res); 238 if (z_res) { 239 crocus_resource_prepare_render(ice, z_res, 243 crocus_cache_flush_for_depth(batch, z_res->bo); 330 struct crocus_resource *z_res, *s_res; local 331 crocus_get_depth_stencil_resources(devinfo, zs_surf->texture, &z_res, &s_res); 335 if (z_res) { 337 crocus_resource_finish_render(ice, z_res, zs_surf->u.tex.level, 343 crocus_depth_cache_add_bo(batch, z_res->bo) [all...] |