Searched refs:stencil_res (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_clear.c | 578 struct iris_resource *stencil_res; in clear_depth_stencil() local 582 iris_get_depth_stencil_resources(p_res, &z_res, &stencil_res); in clear_depth_stencil() 595 if (!(clear_depth || (clear_stencil && stencil_res))) { in clear_depth_stencil() 607 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0; in clear_depth_stencil() 609 iris_resource_prepare_access(ice, stencil_res, level, 1, box->z, in clear_depth_stencil() 610 box->depth, stencil_res->aux.usage, false); in clear_depth_stencil() 611 iris_emit_buffer_barrier_for(batch, stencil_res->bo, in clear_depth_stencil() 614 &stencil_surf, &stencil_res->base, in clear_depth_stencil() 615 stencil_res->aux.usage, level, true); in clear_depth_stencil() 643 iris_resource_finish_write(ice, stencil_res, level, box->z, box->depth, in clear_depth_stencil() [all …]
|
D | iris_state.c | 3088 struct iris_resource *stencil_res; in iris_set_framebuffer_state() local 3135 &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->gtt_offset + 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()
|