Home
last modified time | relevance | path

Searched refs:clear_rect (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c313 const VkClearRect *clear_rect, uint32_t view_mask) in emit_color_clear() argument
371 &(VkViewport){.x = clear_rect->rect.offset.x, in emit_color_clear()
372 .y = clear_rect->rect.offset.y, in emit_color_clear()
373 .width = clear_rect->rect.extent.width, in emit_color_clear()
374 .height = clear_rect->rect.extent.height, in emit_color_clear()
378 radv_CmdSetScissor(radv_cmd_buffer_to_handle(cmd_buffer), 0, 1, &clear_rect->rect); in emit_color_clear()
383 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, clear_rect->baseArrayLayer); in emit_color_clear()
515 const VkClearRect *clear_rect, VkClearDepthStencilValue clear_value) in depth_view_can_fast_clear() argument
522 if (clear_rect->rect.offset.x || clear_rect->rect.offset.y || in depth_view_can_fast_clear()
523 clear_rect->rect.extent.width != iview->extent.width || in depth_view_can_fast_clear()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_clear.c267 const VkClearRect *clear_rect) in panvk_meta_clear_attachment() argument
275 unsigned minx = MAX2(clear_rect->rect.offset.x, 0); in panvk_meta_clear_attachment()
276 unsigned miny = MAX2(clear_rect->rect.offset.y, 0); in panvk_meta_clear_attachment()
277 unsigned maxx = MAX2(clear_rect->rect.offset.x + clear_rect->rect.extent.width - 1, 0); in panvk_meta_clear_attachment()
278 unsigned maxy = MAX2(clear_rect->rect.offset.y + clear_rect->rect.extent.height - 1, 0); in panvk_meta_clear_attachment()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dgraphics_pipeline.cc860 VkClearRect clear_rect; in Clear() local
861 clear_rect.rect = {{0, 0}, {frame_width_, frame_height_}}; in Clear()
862 clear_rect.baseArrayLayer = 0; in Clear()
863 clear_rect.layerCount = 1; in Clear()
867 clears.data(), 1, &clear_rect); in Clear()
/third_party/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c765 const VkRect2D clear_rect = { in transition_stencil_buffer()
785 clear_rect, 0 /* Stencil clear value */); in transition_stencil_buffer()