Searched refs:stencil_res (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_clear.c576 struct iris_resource *stencil_res; local in function:clear_depth_stencil
580 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res);
594 if (!(clear_depth || (clear_stencil && stencil_res))) {
609 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0;
611 iris_resource_prepare_access(ice, stencil_res, level, 1, box->z,
612 box->depth, stencil_res->aux.usage, false);
613 iris_emit_buffer_barrier_for(batch, stencil_res->bo,
616 &stencil_surf, &stencil_res->base.b,
617 stencil_res->aux.usage, level, true);
645 iris_resource_finish_write(ice, stencil_res, leve
[all...]
H A Diris_state.c3087 struct iris_resource *stencil_res; local in function:iris_set_framebuffer_state
3134 &stencil_res);
3159 if (stencil_res) {
3161 info.stencil_aux_usage = stencil_res->aux.usage;
3162 info.stencil_surf = &stencil_res->surf;
3163 info.stencil_address = stencil_res->bo->address + stencil_res->offset;
3165 view.format = stencil_res->surf.format;
3166 info.mocs = iris_mocs(stencil_res->bo, isl_dev, view.usage);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_clear.c565 struct crocus_resource *stencil_res; local in function:clear_depth_stencil
569 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res);
583 if (!(clear_depth || (clear_stencil && stencil_res))) {
601 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0;
603 crocus_resource_prepare_access(ice, stencil_res, level, 1, box->z,
604 box->depth, stencil_res->aux.usage, false);
606 &stencil_surf, &stencil_res->base.b,
607 stencil_res->aux.usage, level, true);
628 crocus_resource_finish_write(ice, stencil_res, level, box->z, box->depth,
629 stencil_res
[all...]
H A Dcrocus_state.c3403 struct crocus_resource *stencil_res;
3453 struct crocus_resource *stencil_res; local in function:crocus_set_framebuffer_state
3456 &stencil_res);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_clear.c508 struct iris_resource *stencil_res; local in function:clear_depth_stencil
512 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res);
537 if (stencil_res) {
539 &stencil_res->base, stencil_res->aux.usage,
549 clear_stencil && stencil_res ? 0xff : 0, stencil);
H A Diris_state.c2447 struct iris_resource *stencil_res; local in function:iris_set_framebuffer_state
2486 &stencil_res);
2509 if (stencil_res) {
2511 info.stencil_surf = &stencil_res->surf;
2512 info.stencil_address = stencil_res->bo->gtt_offset;
2514 view.format = stencil_res->surf.format;
2515 info.mocs = mocs(stencil_res->bo);

Completed in 335 milliseconds