/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_clear.c | 398 const VkClearRect *clear_rect, in emit_color_clear() argument 483 .x = clear_rect->rect.offset.x, in emit_color_clear() 484 .y = clear_rect->rect.offset.y, in emit_color_clear() 485 .width = clear_rect->rect.extent.width, in emit_color_clear() 486 .height = clear_rect->rect.extent.height, in emit_color_clear() 491 radv_CmdSetScissor(radv_cmd_buffer_to_handle(cmd_buffer), 0, 1, &clear_rect->rect); in emit_color_clear() 498 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, clear_rect->baseArrayLayer); in emit_color_clear() 714 const VkClearRect *clear_rect, in depth_view_can_fast_clear() argument 723 if (clear_rect->rect.offset.x || clear_rect->rect.offset.y || in depth_view_can_fast_clear() 724 clear_rect->rect.extent.width != iview->extent.width || in depth_view_can_fast_clear() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_clear.cpp | 76 SWR_RECT clear_rect = {0, 0, (int32_t)fb->width, (int32_t)fb->height}; in swr_clear() local 82 clear_rect); in swr_clear()
|
/external/deqp-deps/amber/src/vulkan/ |
D | graphics_pipeline.cc | 812 VkClearRect clear_rect; in Clear() local 813 clear_rect.rect = {{0, 0}, {frame_width_, frame_height_}}; in Clear() 814 clear_rect.baseArrayLayer = 0; in Clear() 815 clear_rect.layerCount = 1; in Clear() 819 clears.data(), 1, &clear_rect); in Clear()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_pipeline_shader.cpp | 2484 VkClearRect clear_rect = {{{0, 0}, {(uint32_t)m_width, (uint32_t)m_height}}, 0, 1}; in TEST_F() local 2489 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 2492 clear_rect.rect.extent.width = renderPassBeginInfo().renderArea.extent.width + 4; in TEST_F() 2493 clear_rect.rect.extent.height = clear_rect.rect.extent.height / 2; in TEST_F() 2495 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 2499 clear_rect.rect.extent.width = (uint32_t)m_width; in TEST_F() 2500 clear_rect.baseArrayLayer = 1; in TEST_F() 2501 clear_rect.layerCount = 1; in TEST_F() 2503 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 2507 clear_rect.rect.extent.width = (uint32_t)m_width; in TEST_F() [all …]
|
D | vklayertests_command.cpp | 742 VkClearRect clear_rect = {{{0, 0}, {32, 32}}, 0, 1}; in TEST_F() local 743 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 766 VkClearRect clear_rect = {{{0, 0}, {32, 32}}}; in TEST_F() local 767 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 4105 VkClearRect clear_rect = {{{0, 0}, {257, 32}}, 0, 1}; in TEST_F() local 4106 vkCmdClearAttachments(secondary_command_buffer, 1, &color_attachment, 1, &clear_rect); in TEST_F()
|
D | layer_validation_tests.cpp | 933 …VkClearRect clear_rect = {{{0, 0}, {static_cast<uint32_t>(m_width), static_cast<uint32_t>(m_height… in VKTriangleTest() local 935 vkCmdClearAttachments(m_commandBuffer->handle(), 1, &color_attachment, 1, &clear_rect); in VKTriangleTest()
|
D | vkpositivelayertests.cpp | 1066 VkClearRect clear_rect = {{{0, 0}, {(uint32_t)m_width, (uint32_t)m_height}}, 0, 1}; in TEST_F() local 1067 vkCmdClearAttachments(secondary.handle(), 1, &color_attachment, 1, &clear_rect); in TEST_F() 1070 clear_rect = {{{0, 0}, {99999999, 99999999}}, 0, 0}; in TEST_F() 1908 VkClearRect clear_rect = {{{0, 0}, {32, 32}}, 0, 1}; in TEST_F() local 1909 vkCmdClearAttachments(secondary_command_buffer, 1, &color_attachment, 1, &clear_rect); in TEST_F()
|
/external/mesa3d/src/intel/vulkan/ |
D | genX_cmd_buffer.c | 694 const VkRect2D clear_rect = { in transition_stencil_buffer() 714 clear_rect, 0 /* Stencil clear value */); in transition_stencil_buffer()
|