Searched refs:stencil_res (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_clear.c | 575 struct iris_resource *stencil_res; in clear_depth_stencil() local 579 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil() 593 if (!(clear_depth || (clear_stencil && stencil_res))) { in clear_depth_stencil() 608 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0; in clear_depth_stencil() 610 iris_resource_prepare_access(ice, stencil_res, level, 1, box->z, in clear_depth_stencil() 611 box->depth, stencil_res->aux.usage, false); in clear_depth_stencil() 612 iris_emit_buffer_barrier_for(batch, stencil_res->bo, in clear_depth_stencil() 615 &stencil_surf, &stencil_res->base.b, in clear_depth_stencil() 616 stencil_res->aux.usage, level, true); in clear_depth_stencil() 644 iris_resource_finish_write(ice, stencil_res, level, box->z, box->depth, in clear_depth_stencil() [all …]
|
D | iris_state.c | 3086 struct iris_resource *stencil_res; in iris_set_framebuffer_state() local 3133 &stencil_res); in iris_set_framebuffer_state() 3158 if (stencil_res) { in iris_set_framebuffer_state() 3160 info.stencil_aux_usage = stencil_res->aux.usage; in iris_set_framebuffer_state() 3161 info.stencil_surf = &stencil_res->surf; in iris_set_framebuffer_state() 3162 info.stencil_address = stencil_res->bo->address + stencil_res->offset; in iris_set_framebuffer_state() 3164 view.format = stencil_res->surf.format; in iris_set_framebuffer_state() 3165 info.mocs = iris_mocs(stencil_res->bo, isl_dev, view.usage); in iris_set_framebuffer_state()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_clear.c | 565 struct crocus_resource *stencil_res; in clear_depth_stencil() local 569 crocus_get_depth_stencil_resources(&batch->screen->devinfo, p_res, &z_res, &stencil_res); in clear_depth_stencil() 583 if (!(clear_depth || (clear_stencil && stencil_res))) { in clear_depth_stencil() 601 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0; in clear_depth_stencil() 603 crocus_resource_prepare_access(ice, stencil_res, level, 1, box->z, in clear_depth_stencil() 604 box->depth, stencil_res->aux.usage, false); in clear_depth_stencil() 606 &stencil_surf, &stencil_res->base.b, in clear_depth_stencil() 607 stencil_res->aux.usage, level, true); in clear_depth_stencil() 628 crocus_resource_finish_write(ice, stencil_res, level, box->z, box->depth, in clear_depth_stencil() 629 stencil_res->aux.usage); in clear_depth_stencil()
|
D | crocus_state.c | 3403 struct crocus_resource *stencil_res; in crocus_set_framebuffer_state() 3453 struct crocus_resource *stencil_res; in crocus_set_framebuffer_state() local 3456 &stencil_res); in crocus_set_framebuffer_state()
|