/third_party/mesa3d/src/intel/vulkan/ |
D | genX_cmd_buffer.c | 388 VkRect2D render_area) in anv_can_fast_clear_color_view() argument 418 if (render_area.offset.x != 0 || in anv_can_fast_clear_color_view() 419 render_area.offset.y != 0 || in anv_can_fast_clear_color_view() 420 render_area.extent.width != iview->vk.extent.width || in anv_can_fast_clear_color_view() 421 render_area.extent.height != iview->vk.extent.height) in anv_can_fast_clear_color_view() 474 VkRect2D render_area) in anv_can_hiz_clear_ds_view() argument 498 render_area.offset.x, in anv_can_hiz_clear_ds_view() 499 render_area.offset.y, in anv_can_hiz_clear_ds_view() 500 render_area.offset.x + in anv_can_hiz_clear_ds_view() 501 render_area.extent.width, in anv_can_hiz_clear_ds_view() [all …]
|
D | anv_private.h | 2650 VkRect2D render_area; member
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_cmd_buffer.c | 975 cmd_buffer->state.render_area.offset.x = 0; in cmd_buffer_begin_render_pass_secondary() 976 cmd_buffer->state.render_area.offset.y = 0; in cmd_buffer_begin_render_pass_secondary() 977 cmd_buffer->state.render_area.extent.width = in cmd_buffer_begin_render_pass_secondary() 979 cmd_buffer->state.render_area.extent.height = in cmd_buffer_begin_render_pass_secondary() 1034 const VkRect2D *rect = &cmd_buffer->state.render_area; in cmd_buffer_update_tile_alignment() 1257 state->render_area = pRenderPassBegin->renderArea; in v3dv_CmdBeginRenderPass2() 1262 uint32_t min_render_x = state->render_area.offset.x; in v3dv_CmdBeginRenderPass2() 1263 uint32_t min_render_y = state->render_area.offset.y; in v3dv_CmdBeginRenderPass2() 1264 uint32_t max_render_x = min_render_x + state->render_area.extent.width - 1; in v3dv_CmdBeginRenderPass2() 1265 uint32_t max_render_y = min_render_y + state->render_area.extent.height - 1; in v3dv_CmdBeginRenderPass2() [all …]
|
D | v3dvx_cmd_buffer.c | 730 state->render_area.offset.x / supertile_w_in_pixels; in cmd_buffer_emit_render_pass_layer_rcl() 732 state->render_area.offset.y / supertile_h_in_pixels; in cmd_buffer_emit_render_pass_layer_rcl() 734 uint32_t max_render_x = state->render_area.offset.x; in cmd_buffer_emit_render_pass_layer_rcl() 735 if (state->render_area.extent.width > 0) in cmd_buffer_emit_render_pass_layer_rcl() 736 max_render_x += state->render_area.extent.width - 1; in cmd_buffer_emit_render_pass_layer_rcl() 737 uint32_t max_render_y = state->render_area.offset.y; in cmd_buffer_emit_render_pass_layer_rcl() 738 if (state->render_area.extent.height > 0) in cmd_buffer_emit_render_pass_layer_rcl() 739 max_render_y += state->render_area.extent.height - 1; in cmd_buffer_emit_render_pass_layer_rcl()
|
D | v3dv_meta_copy.c | 2169 VkRect2D render_area; in texel_buffer_shader_copy() local 2171 render_area.offset.x = regions[0].imageOffset.x; in texel_buffer_shader_copy() 2172 render_area.offset.y = regions[0].imageOffset.y; in texel_buffer_shader_copy() 2173 render_area.extent.width = regions[0].imageExtent.width; in texel_buffer_shader_copy() 2174 render_area.extent.height = regions[0].imageExtent.height; in texel_buffer_shader_copy() 2181 v3dv_subpass_area_is_tile_aligned(cmd_buffer->device, &render_area, in texel_buffer_shader_copy() 2186 render_area.offset.x = 0; in texel_buffer_shader_copy() 2187 render_area.offset.y = 0; in texel_buffer_shader_copy() 2188 render_area.extent.width = fb_width; in texel_buffer_shader_copy() 2189 render_area.extent.height = fb_height; in texel_buffer_shader_copy() [all …]
|
D | v3dv_private.h | 1273 VkRect2D render_area; member 1360 VkRect2D render_area; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_clear_blit.c | 2860 ops->coords(cs, &cmd->state.render_area.offset, NULL, in clear_sysmem_attachment() 2861 &cmd->state.render_area.extent); in clear_sysmem_attachment() 3191 const VkRect2D *render_area, in store_3d_blit() argument 3209 r3d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent); in store_3d_blit() 3257 const VkRect2D *render_area = &cmd->state.render_area; in tu_attachment_store_unaligned() local 3263 uint32_t x1 = render_area->offset.x; in tu_attachment_store_unaligned() 3264 uint32_t y1 = render_area->offset.y; in tu_attachment_store_unaligned() 3265 uint32_t x2 = x1 + render_area->extent.width; in tu_attachment_store_unaligned() 3266 uint32_t y2 = y1 + render_area->extent.height; in tu_attachment_store_unaligned() 3314 const VkRect2D *render_area = &cmd->state.render_area; in tu_store_gmem_attachment() local [all …]
|
D | tu_cmd_buffer.h | 374 VkRect2D render_area; member 387 VkRect2D render_area; member
|
D | tu_cmd_buffer.c | 408 const VkRect2D *render_area = &cmd->state.render_area; in tu6_emit_blit_scissor() local 416 if (render_area->extent.width == 0 || in tu6_emit_blit_scissor() 417 render_area->extent.height == 0) in tu6_emit_blit_scissor() 420 uint32_t x1 = render_area->offset.x; in tu6_emit_blit_scissor() 421 uint32_t y1 = render_area->offset.y; in tu6_emit_blit_scissor() 422 uint32_t x2 = x1 + render_area->extent.width - 1; in tu6_emit_blit_scissor() 423 uint32_t y2 = y1 + render_area->extent.height - 1; in tu6_emit_blit_scissor() 589 if (cmd->state.render_area.extent.width == 0 || in use_sysmem_rendering() 590 cmd->state.render_area.extent.height == 0) in use_sysmem_rendering() 695 tu_resolve_sysmem(cmd, cs, src, dst, layer_mask, fb->layers, &cmd->state.render_area); in tu6_emit_sysmem_resolve() [all …]
|
D | tu_autotune.c | 490 const VkExtent2D *extent = &cmd->state.render_area.extent; in get_render_pass_pixel_count() 577 const VkExtent2D *extent = &cmd_buffer->state.render_area.extent; in tu_autotune_use_bypass()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_command_buffer.h | 127 VkRect2D render_area; member
|
D | vk_render_pass.c | 1304 if (cmd_buffer->render_area.offset.x != 0 || in can_use_attachment_initial_layout() 1305 cmd_buffer->render_area.offset.y != 0 || in can_use_attachment_initial_layout() 1306 cmd_buffer->render_area.extent.width != image_view->extent.width || in can_use_attachment_initial_layout() 1307 cmd_buffer->render_area.extent.height != image_view->extent.height) in can_use_attachment_initial_layout() 1536 .renderArea = cmd_buffer->render_area, in load_attachment() 2042 .renderArea = cmd_buffer->render_area, in begin_subpass() 2188 cmd_buffer->render_area = pRenderPassBeginInfo->renderArea; in vk_common_CmdBeginRenderPass2()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 166 VkRect2D render_area; member 1638 clear_attachment_layers(state, imgv, &state->render_area, in render_clear() 1644 state->render_area.offset.x, in render_clear() 1645 state->render_area.offset.y, in render_clear() 1646 state->render_area.extent.width, in render_clear() 1647 state->render_area.extent.height, in render_clear() 1668 clear_attachment_layers(state, state->ds_imgv, &state->render_area, in render_clear() 1675 state->render_area.offset.x, in render_clear() 1676 state->render_area.offset.y, in render_clear() 1677 state->render_area.extent.width, in render_clear() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta.c | 213 state->render_area = cmd_buffer->state.render_area; in radv_meta_save() 367 cmd_buffer->state.render_area = state->render_area; in radv_meta_restore()
|
D | radv_meta.h | 60 VkRect2D render_area; member
|
D | radv_private.h | 1454 VkRect2D render_area; member
|
D | radv_meta_clear.c | 1966 .rect = cmd_state->render_area, in radv_subpass_clear_attachment()
|
D | radv_cmd_buffer.c | 6531 cmd_buffer->state.render_area = pRenderPassBeginInfo->renderArea; in radv_CmdBeginRenderPass2()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_cmd_buffer.c | 710 const VkRect2D *render_area, in pvr_setup_pbe_state() argument 811 render_params.min_x_clip = MAX2(0, render_area->offset.x); in pvr_setup_pbe_state() 812 render_params.min_y_clip = MAX2(0, render_area->offset.y); in pvr_setup_pbe_state() 815 render_area->offset.x + render_area->extent.width) - in pvr_setup_pbe_state() 819 render_area->offset.y + render_area->extent.height) - in pvr_setup_pbe_state() 910 &render_pass_info->render_area, in pvr_sub_cmd_gfx_job_init() 2270 if (info->render_area.offset.x == 0 && info->render_area.offset.y == 0 && in pvr_perform_start_of_render_attachment_clear() 2271 info->render_area.extent.width == width && in pvr_perform_start_of_render_attachment_clear() 2272 info->render_area.extent.height == height && framebuffer->layers == 1) { in pvr_perform_start_of_render_attachment_clear() 2435 state->render_pass_info.render_area = pRenderPassBeginInfo->renderArea; in pvr_CmdBeginRenderPass2()
|
D | pvr_private.h | 644 VkRect2D render_area; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_cmd_buffer.c | 511 cmdbuf->state.render_area = pRenderPassBegin->renderArea; in panvk_CmdBeginRenderPass2()
|
D | panvk_private.h | 723 VkRect2D render_area; member
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.1.0.rst | 2581 - turnip: fix hw binning + render_area offset interaction
|