Home
last modified time | relevance | path

Searched refs:render_area (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Dgfx7_cmd_buffer.c90 cmd_buffer->state.render_area.offset.y, max); in gfx7_cmd_buffer_emit_scissor()
92 cmd_buffer->state.render_area.offset.x, max); in gfx7_cmd_buffer_emit_scissor()
94 cmd_buffer->state.render_area.offset.y + in gfx7_cmd_buffer_emit_scissor()
95 cmd_buffer->state.render_area.extent.height - 1); in gfx7_cmd_buffer_emit_scissor()
97 cmd_buffer->state.render_area.offset.x + in gfx7_cmd_buffer_emit_scissor()
98 cmd_buffer->state.render_area.extent.width - 1); in gfx7_cmd_buffer_emit_scissor()
DgenX_cmd_buffer.c362 VkRect2D render_area) in anv_can_fast_clear_color_view() argument
392 if (render_area.offset.x != 0 || in anv_can_fast_clear_color_view()
393 render_area.offset.y != 0 || in anv_can_fast_clear_color_view()
394 render_area.extent.width != iview->vk.extent.width || in anv_can_fast_clear_color_view()
395 render_area.extent.height != iview->vk.extent.height) in anv_can_fast_clear_color_view()
448 VkRect2D render_area) in anv_can_hiz_clear_ds_view() argument
472 render_area.offset.x, in anv_can_hiz_clear_ds_view()
473 render_area.offset.y, in anv_can_hiz_clear_ds_view()
474 render_area.offset.x + in anv_can_hiz_clear_ds_view()
475 render_area.extent.width, in anv_can_hiz_clear_ds_view()
[all …]
Danv_private.h2998 VkRect2D render_area; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c1108 cmd_buffer->state.render_area.offset.x = 0; in cmd_buffer_begin_render_pass_secondary()
1109 cmd_buffer->state.render_area.offset.y = 0; in cmd_buffer_begin_render_pass_secondary()
1110 cmd_buffer->state.render_area.extent.width = in cmd_buffer_begin_render_pass_secondary()
1112 cmd_buffer->state.render_area.extent.height = in cmd_buffer_begin_render_pass_secondary()
1185 const VkRect2D *rect = &cmd_buffer->state.render_area; in cmd_buffer_update_tile_alignment()
1339 state->render_area = pRenderPassBegin->renderArea; in v3dv_CmdBeginRenderPass()
1344 uint32_t min_render_x = state->render_area.offset.x; in v3dv_CmdBeginRenderPass()
1345 uint32_t min_render_y = state->render_area.offset.y; in v3dv_CmdBeginRenderPass()
1346 uint32_t max_render_x = min_render_x + state->render_area.extent.width - 1; in v3dv_CmdBeginRenderPass()
1347 uint32_t max_render_y = min_render_y + state->render_area.extent.height - 1; in v3dv_CmdBeginRenderPass()
[all …]
Dv3dvx_cmd_buffer.c673 state->render_area.offset.x / supertile_w_in_pixels; in cmd_buffer_emit_render_pass_layer_rcl()
675 state->render_area.offset.y / supertile_h_in_pixels; in cmd_buffer_emit_render_pass_layer_rcl()
677 uint32_t max_render_x = state->render_area.offset.x; in cmd_buffer_emit_render_pass_layer_rcl()
678 if (state->render_area.extent.width > 0) in cmd_buffer_emit_render_pass_layer_rcl()
679 max_render_x += state->render_area.extent.width - 1; in cmd_buffer_emit_render_pass_layer_rcl()
680 uint32_t max_render_y = state->render_area.offset.y; in cmd_buffer_emit_render_pass_layer_rcl()
681 if (state->render_area.extent.height > 0) in cmd_buffer_emit_render_pass_layer_rcl()
682 max_render_y += state->render_area.extent.height - 1; in cmd_buffer_emit_render_pass_layer_rcl()
Dv3dv_meta_copy.c2144 VkRect2D render_area; in texel_buffer_shader_copy() local
2146 render_area.offset.x = regions[0].imageOffset.x; in texel_buffer_shader_copy()
2147 render_area.offset.y = regions[0].imageOffset.y; in texel_buffer_shader_copy()
2148 render_area.extent.width = regions[0].imageExtent.width; in texel_buffer_shader_copy()
2149 render_area.extent.height = regions[0].imageExtent.height; in texel_buffer_shader_copy()
2156 v3dv_subpass_area_is_tile_aligned(cmd_buffer->device, &render_area, in texel_buffer_shader_copy()
2161 render_area.offset.x = 0; in texel_buffer_shader_copy()
2162 render_area.offset.y = 0; in texel_buffer_shader_copy()
2163 render_area.extent.width = fb_width; in texel_buffer_shader_copy()
2164 render_area.extent.height = fb_height; in texel_buffer_shader_copy()
[all …]
Dv3dv_private.h1103 VkRect2D render_area; member
1182 VkRect2D render_area; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_clear_blit.c2811 const VkRect2D *render_area, in store_3d_blit() argument
2818 r3d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent); in store_3d_blit()
2847 const VkRect2D *render_area = &cmd->state.render_area; in tu_store_gmem_attachment() local
2855 uint32_t x1 = render_area->offset.x; in tu_store_gmem_attachment()
2856 uint32_t y1 = render_area->offset.y; in tu_store_gmem_attachment()
2857 uint32_t x2 = x1 + render_area->extent.width; in tu_store_gmem_attachment()
2858 uint32_t y2 = y1 + render_area->extent.height; in tu_store_gmem_attachment()
2910 render_area, src->gmem_offset, src->cpp); in tu_store_gmem_attachment()
2914 render_area, src->gmem_offset, src->samples); in tu_store_gmem_attachment()
2917 r2d_coords(cs, &render_area->offset, &render_area->offset, &render_area->extent); in tu_store_gmem_attachment()
Dtu_cmd_buffer.c415 const VkRect2D *render_area = &cmd->state.render_area; in tu6_emit_blit_scissor() local
423 if (render_area->extent.width == 0 || in tu6_emit_blit_scissor()
424 render_area->extent.height == 0) in tu6_emit_blit_scissor()
427 uint32_t x1 = render_area->offset.x; in tu6_emit_blit_scissor()
428 uint32_t y1 = render_area->offset.y; in tu6_emit_blit_scissor()
429 uint32_t x2 = x1 + render_area->extent.width - 1; in tu6_emit_blit_scissor()
430 uint32_t y2 = y1 + render_area->extent.height - 1; in tu6_emit_blit_scissor()
585 if (cmd->state.render_area.extent.width == 0 || in use_sysmem_rendering()
586 cmd->state.render_area.extent.height == 0) in use_sysmem_rendering()
655 tu_resolve_sysmem(cmd, cs, src, dst, layer_mask, fb->layers, &cmd->state.render_area); in tu6_emit_sysmem_resolve()
[all …]
Dtu_private.h1016 VkRect2D render_area; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c145 VkRect2D render_area; member
1450 clear_attachment_layers(state, imgv, &state->render_area, in render_subpass_clear()
1457 state->render_area.offset.x, state->render_area.offset.y, in render_subpass_clear()
1458 … state->render_area.extent.width, state->render_area.extent.height, in render_subpass_clear()
1497 clear_attachment_layers(state, imgv, &state->render_area, in render_subpass_clear()
1505 … state->render_area.offset.x, state->render_area.offset.y, in render_subpass_clear()
1506 … state->render_area.extent.width, state->render_area.extent.height, in render_subpass_clear()
1531 if (state->render_area.offset.x || state->render_area.offset.y) in render_subpass_clear_fast()
1534 if (state->render_area.extent.width != state->framebuffer.width || in render_subpass_clear_fast()
1535 state->render_area.extent.height != state->framebuffer.height) in render_subpass_clear_fast()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta.c133 state->render_area = cmd_buffer->state.render_area; in radv_meta_save()
245 cmd_buffer->state.render_area = state->render_area; in radv_meta_restore()
Dradv_meta.h60 VkRect2D render_area; member
Dradv_private.h1363 VkRect2D render_area; member
Dradv_meta_clear.c2024 .rect = cmd_state->render_area, in radv_subpass_clear_attachment()
Dradv_cmd_buffer.c5877 cmd_buffer->state.render_area = pRenderPassBegin->renderArea; in radv_cmd_buffer_begin_render_pass()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_private.h609 VkRect2D render_area; member
Dpanvk_cmd_buffer.c431 cmdbuf->state.render_area = pRenderPassBegin->renderArea; in panvk_CmdBeginRenderPass2()
/third_party/mesa3d/docs/relnotes/
D20.1.0.rst2581 - turnip: fix hw binning + render_area offset interaction