Home
last modified time | relevance | path

Searched refs:new_clear_value (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blt.c205 uint32_t new_clear_value = etna_clear_blit_pack_rgba(surf->base.format, color->f); in etna_blit_clear_color_blt() local
226 clr.dest.ts_clear_value[0] = new_clear_value; in etna_blit_clear_color_blt()
227 clr.dest.ts_clear_value[1] = new_clear_value; in etna_blit_clear_color_blt()
230 clr.clear_value[0] = new_clear_value; in etna_blit_clear_color_blt()
231 clr.clear_value[1] = new_clear_value; in etna_blit_clear_color_blt()
243 ctx->framebuffer.TS_COLOR_CLEAR_VALUE = new_clear_value; in etna_blit_clear_color_blt()
247 surf->level->clear_value = new_clear_value; in etna_blit_clear_color_blt()
258 uint32_t new_clear_value = translate_clear_depth_stencil(surf->base.format, depth, stencil); in etna_blit_clear_zs_blt() local
302 clr.dest.ts_clear_value[0] = new_clear_value; in etna_blit_clear_zs_blt()
303 clr.dest.ts_clear_value[1] = new_clear_value; in etna_blit_clear_zs_blt()
[all …]
Detnaviv_rs.c294 uint32_t new_clear_value = etna_clear_blit_pack_rgba(surf->base.format, color->f); in etna_blit_clear_color_rs() local
297 ctx->framebuffer.TS_COLOR_CLEAR_VALUE = new_clear_value; in etna_blit_clear_color_rs()
308 …} else if (unlikely(new_clear_value != surf->level->clear_value)) { /* Queue normal RS clear for n… in etna_blit_clear_color_rs()
310 etna_rs_gen_clear_surface(ctx, surf, new_clear_value); in etna_blit_clear_color_rs()
315 surf->level->clear_value = new_clear_value; in etna_blit_clear_color_rs()
326 uint32_t new_clear_value = translate_clear_depth_stencil(surf->base.format, depth, stencil); in etna_blit_clear_zs_rs() local
357 ctx->framebuffer.TS_DEPTH_CLEAR_VALUE = new_clear_value; in etna_blit_clear_zs_rs()
368 …if (unlikely(new_clear_value != surf->level->clear_value)) { /* Queue normal RS clear for non-TS s… in etna_blit_clear_zs_rs()
370 etna_rs_gen_clear_surface(ctx, surf, new_clear_value); in etna_blit_clear_zs_rs()
378 surf->level->clear_value = new_clear_value; in etna_blit_clear_zs_rs()