Lines Matching defs:clear
224 * If the load operation is CLEAR, we must only clear once on the first
305 bool clear,
320 store.clear_buffer_being_stored = clear;
372 * the clear here.
384 * TLB for a clear.
469 /* Only clear once on the first subpass that uses the attachment */
530 /* GFXH-1689: The per-buffer store command's clear buffer bit is broken
543 * So if we have to emit a clear of depth or stencil we don't use
544 * the per-buffer store clear bit, even if we need to store the buffers,
550 * using the clear buffer bit in depth/stencil stores works fine.
577 /* Only clear once on the first subpass that uses the attachment */
601 * that we must not request a tile buffer clear here in that case, since
602 * that would clear the tile buffer before we get to emit the actual
603 * color attachment store below, since the clear happens after the
647 /* If we have any depth/stencil clears we can't use the per-buffer clear
648 * bit and instead we have to emit a single clear of all tile buffers.
651 cl_emit(cl, CLEAR_TILE_BUFFERS, clear) {
652 clear.clear_z_stencil_buffer = use_global_zs_clear;
653 clear.clear_all_render_targets = use_global_rt_clear;
837 /* Early-Z/S clear can be enabled if the job is clearing and not
892 /* If we enabled early Z/S clear, then we can't emit any "Clear Tile Buffers"
927 cl_emit(rcl, TILE_RENDERING_MODE_CFG_CLEAR_COLORS_PART1, clear) {
928 clear.clear_color_low_32_bits = clear_color[0];
929 clear.clear_color_next_24_bits = clear_color[1] & 0xffffff;
930 clear.render_target_number = i;
934 cl_emit(rcl, TILE_RENDERING_MODE_CFG_CLEAR_COLORS_PART2, clear) {
935 clear.clear_color_mid_low_32_bits =
937 clear.clear_color_mid_high_24_bits =
939 clear.render_target_number = i;
944 cl_emit(rcl, TILE_RENDERING_MODE_CFG_CLEAR_COLORS_PART3, clear) {
945 clear.uif_padded_height_in_uif_blocks = clear_pad;
946 clear.clear_color_high_16_bits = clear_color[3] >> 16;
947 clear.render_target_number = i;
969 cl_emit(rcl, TILE_RENDERING_MODE_CFG_ZS_CLEAR_VALUES, clear) {
970 clear.z_clear_value =
972 clear.stencil_clear_value =
976 cl_emit(rcl, TILE_RENDERING_MODE_CFG_ZS_CLEAR_VALUES, clear) {
977 clear.z_clear_value = 1.0f;
978 clear.stencil_clear_value = 0;
1005 /* Emit an initial clear of the tile buffers. This is necessary
1008 * it's also nice to clear everything so the first tile doesn't
1026 cl_emit(rcl, CLEAR_TILE_BUFFERS, clear) {
1027 clear.clear_z_stencil_buffer = !job->early_zs_clear;
1028 clear.clear_all_render_targets = true;