Lines Matching defs:image
66 * buffer is changed, the following commands could change depth image:
190 if (!view->image->lrz_height) {
220 cmd->state.lrz.fast_clear = view->image->lrz_fc_size > 0;
253 * the normal case and enable fast clear even if the depth image doesn't
277 if (cmd->state.attachments[a]->image->lrz_height)
303 if (cmd->state.attachments[i]->image->lrz_height)
318 struct tu_image *image = cmd->state.attachments[i]->image;
319 tu_disable_lrz(cmd, &cmd->cs, image);
363 tu6_emit_lrz_buffer(cs, lrz->image_view->image);
406 tu6_clear_lrz(cmd, cs, lrz->image_view->image, &lrz->depth_clear_value);
415 if (lrz->image_view->image->lrz_fc_size) {
416 tu6_dirty_lrz_fc(cmd, cs, lrz->image_view->image);
425 tu6_emit_lrz_buffer(cs, cmd->state.lrz.image_view->image);
469 tu_disable_lrz(cmd, cs, lrz->image_view->image);
474 tu6_emit_lrz_buffer(cs, lrz->image_view->image);
486 tu6_clear_lrz(cmd, cs, lrz->image_view->image, &lrz->depth_clear_value);
500 struct tu_image *image)
505 if (!image->lrz_height)
508 tu6_emit_lrz_buffer(cs, image);
515 struct tu_image *image,
520 if (!rangeCount || !image->lrz_height ||
539 bool fast_clear = image->lrz_fc_size && (pDepthStencil->depth == 0.f ||
542 tu6_emit_lrz_buffer(&cmd->cs, image);
546 .layer_count = vk_image_subresource_layer_count(&image->vk, range),
560 tu6_clear_lrz(cmd, &cmd->cs, image, (const VkClearValue*) pDepthStencil);