• Home
  • Raw
  • Download

Lines Matching refs:iview

1722                          struct radv_color_buffer_info *cb, struct radv_image_view *iview,  in radv_emit_fb_color_state()  argument
1727 struct radv_image *image = iview->image; in radv_emit_fb_color_state()
1730 cmd_buffer->device, image, iview->base_mip, layout, in_render_loop, in radv_emit_fb_color_state()
1823 .aspectMask = iview->aspect_mask, in radv_emit_fb_color_state()
1824 .baseMipLevel = iview->base_mip, in radv_emit_fb_color_state()
1825 .levelCount = iview->level_count, in radv_emit_fb_color_state()
1826 .baseArrayLayer = iview->base_layer, in radv_emit_fb_color_state()
1827 .layerCount = iview->layer_count, in radv_emit_fb_color_state()
1836 const struct radv_image_view *iview, VkImageLayout layout, in radv_update_zrange_precision() argument
1839 const struct radv_image *image = iview->image; in radv_update_zrange_precision()
1867 uint64_t va = radv_get_tc_compat_zrange_va(image, iview->base_mip); in radv_update_zrange_precision()
1881 struct radv_image_view *iview, VkImageLayout layout, bool in_render_loop) in radv_emit_fb_ds_state() argument
1883 const struct radv_image *image = iview->image; in radv_emit_fb_ds_state()
1958 radv_update_zrange_precision(cmd_buffer, ds, iview, layout, in_render_loop, true); in radv_emit_fb_ds_state()
1970 const struct radv_image_view *iview, in radv_update_bound_fast_clear_ds() argument
1974 const struct radv_image *image = iview->image; in radv_update_bound_fast_clear_ds()
1985 if (cmd_buffer->state.attachments[att_idx].iview->image != image) in radv_update_bound_fast_clear_ds()
2006 radv_update_zrange_precision(cmd_buffer, &cmd_buffer->state.attachments[att_idx].ds, iview, in radv_update_bound_fast_clear_ds()
2087 const struct radv_image_view *iview, in radv_update_tc_compat_zrange_metadata() argument
2091 .aspectMask = iview->aspect_mask, in radv_update_tc_compat_zrange_metadata()
2092 .baseMipLevel = iview->base_mip, in radv_update_tc_compat_zrange_metadata()
2093 .levelCount = iview->level_count, in radv_update_tc_compat_zrange_metadata()
2094 .baseArrayLayer = iview->base_layer, in radv_update_tc_compat_zrange_metadata()
2095 .layerCount = iview->layer_count, in radv_update_tc_compat_zrange_metadata()
2104 radv_set_tc_compat_zrange_metadata(cmd_buffer, iview->image, &range, cond_val); in radv_update_tc_compat_zrange_metadata()
2112 const struct radv_image_view *iview, in radv_update_ds_clear_metadata() argument
2116 .aspectMask = iview->aspect_mask, in radv_update_ds_clear_metadata()
2117 .baseMipLevel = iview->base_mip, in radv_update_ds_clear_metadata()
2118 .levelCount = iview->level_count, in radv_update_ds_clear_metadata()
2119 .baseArrayLayer = iview->base_layer, in radv_update_ds_clear_metadata()
2120 .layerCount = iview->layer_count, in radv_update_ds_clear_metadata()
2122 struct radv_image *image = iview->image; in radv_update_ds_clear_metadata()
2126 radv_set_ds_clear_metadata(cmd_buffer, iview->image, &range, ds_clear_value, aspects); in radv_update_ds_clear_metadata()
2129 radv_update_tc_compat_zrange_metadata(cmd_buffer, iview, ds_clear_value); in radv_update_ds_clear_metadata()
2132 radv_update_bound_fast_clear_ds(cmd_buffer, iview, ds_clear_value, aspects); in radv_update_ds_clear_metadata()
2139 radv_load_ds_clear_metadata(struct radv_cmd_buffer *cmd_buffer, const struct radv_image_view *iview) in radv_load_ds_clear_metadata() argument
2142 const struct radv_image *image = iview->image; in radv_load_ds_clear_metadata()
2144 uint64_t va = radv_get_ds_clear_value_va(image, iview->base_mip); in radv_load_ds_clear_metadata()
2256 if (cmd_buffer->state.attachments[att_idx].iview->image != image) in radv_update_bound_fast_clear_color()
2302 const struct radv_image_view *iview, int cb_idx, in radv_update_color_clear_metadata() argument
2305 struct radv_image *image = iview->image; in radv_update_color_clear_metadata()
2307 .aspectMask = iview->aspect_mask, in radv_update_color_clear_metadata()
2308 .baseMipLevel = iview->base_mip, in radv_update_color_clear_metadata()
2309 .levelCount = iview->level_count, in radv_update_color_clear_metadata()
2310 .baseArrayLayer = iview->base_layer, in radv_update_color_clear_metadata()
2311 .layerCount = iview->layer_count, in radv_update_color_clear_metadata()
2314 assert(radv_image_has_cmask(image) || radv_dcc_enabled(image, iview->base_mip)); in radv_update_color_clear_metadata()
2319 if (iview->image->support_comp_to_single) in radv_update_color_clear_metadata()
2331 radv_load_color_clear_metadata(struct radv_cmd_buffer *cmd_buffer, struct radv_image_view *iview, in radv_load_color_clear_metadata() argument
2335 struct radv_image *image = iview->image; in radv_load_color_clear_metadata()
2337 if (!radv_image_has_cmask(image) && !radv_dcc_enabled(image, iview->base_mip)) in radv_load_color_clear_metadata()
2340 if (iview->image->support_comp_to_single) in radv_load_color_clear_metadata()
2349 uint64_t va = radv_image_get_fast_clear_va(image, iview->base_mip); in radv_load_color_clear_metadata()
2397 struct radv_image_view *iview = cmd_buffer->state.attachments[idx].iview; in radv_emit_fb_mip_change_flush() local
2399 if ((radv_image_has_CB_metadata(iview->image) || in radv_emit_fb_mip_change_flush()
2400 radv_dcc_enabled(iview->image, iview->base_mip) || in radv_emit_fb_mip_change_flush()
2401 radv_dcc_enabled(iview->image, cmd_buffer->state.cb_mip[i])) && in radv_emit_fb_mip_change_flush()
2402 cmd_buffer->state.cb_mip[i] != iview->base_mip) in radv_emit_fb_mip_change_flush()
2405 cmd_buffer->state.cb_mip[i] = iview->base_mip; in radv_emit_fb_mip_change_flush()
2480 struct radv_image_view *iview = cmd_buffer->state.attachments[idx].iview; in radv_emit_framebuffer_state() local
2484 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, iview->image->bo); in radv_emit_framebuffer_state()
2486 assert(iview->aspect_mask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_PLANE_0_BIT | in radv_emit_framebuffer_state()
2488 radv_emit_fb_color_state(cmd_buffer, i, &cmd_buffer->state.attachments[idx].cb, iview, layout, in radv_emit_framebuffer_state()
2491 radv_load_color_clear_metadata(cmd_buffer, iview, i); in radv_emit_framebuffer_state()
2498 struct radv_image_view *iview = cmd_buffer->state.attachments[idx].iview; in radv_emit_framebuffer_state() local
2500 cmd_buffer->state.attachments[idx].iview->image->bo); in radv_emit_framebuffer_state()
2502 radv_emit_fb_ds_state(cmd_buffer, &cmd_buffer->state.attachments[idx].ds, iview, layout, in radv_emit_framebuffer_state()
2506 cmd_buffer->device, iview->image, layout, in_render_loop, in radv_emit_framebuffer_state()
2507 radv_image_queue_family_mask(iview->image, cmd_buffer->queue_family_index, in radv_emit_framebuffer_state()
2512 radv_load_ds_clear_metadata(cmd_buffer, iview); in radv_emit_framebuffer_state()
2522 struct radv_image_view iview; in radv_emit_framebuffer_state() local
2524 radv_image_view_init(&iview, cmd_buffer->device, in radv_emit_framebuffer_state()
2545 radv_emit_fb_ds_state(cmd_buffer, &ds, &iview, layout, false); in radv_emit_framebuffer_state()
2547 radv_image_view_finish(&iview); in radv_emit_framebuffer_state()
4020 struct radv_image_view *view = state->attachments[att_idx].iview; in radv_get_attachment_sample_locations()
4059 struct radv_image_view *view = cmd_buffer->state.attachments[idx].iview; in radv_handle_subpass_image_transition()
4148 struct radv_image *image = cmd_buffer->state.attachments[att_idx].iview->image; in radv_cmd_state_setup_sample_locations()
4267 struct radv_image_view *iview; in radv_cmd_state_setup_attachments() local
4269 iview = radv_image_view_from_handle(attachment_info->pAttachments[i]); in radv_cmd_state_setup_attachments()
4271 iview = state->framebuffer->attachments[i]; in radv_cmd_state_setup_attachments()
4274 state->attachments[i].iview = iview; in radv_cmd_state_setup_attachments()
4275 if (iview->aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in radv_cmd_state_setup_attachments()
4276 radv_initialise_ds_surface(cmd_buffer->device, &state->attachments[i].ds, iview); in radv_cmd_state_setup_attachments()
4278 radv_initialise_color_surface(cmd_buffer->device, &state->attachments[i].cb, iview); in radv_cmd_state_setup_attachments()
5749 struct radv_image_view *vrs_iview = cmd_buffer->state.attachments[idx].iview; in radv_cmd_buffer_begin_subpass()
5756 struct radv_image_view *ds_iview = cmd_buffer->state.attachments[ds_idx].iview; in radv_cmd_buffer_begin_subpass()
5819 if (!cmd_buffer->state.attachments[a].iview->image->l2_coherent) { in radv_mark_noncoherent_rb()
5826 .iview->image->l2_coherent) in radv_mark_noncoherent_rb()