Home
last modified time | relevance | path

Searched refs:image_layout (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c360 VkSubresourceLayout image_layout; in wsi_create_native_image() local
362 &image_subresource, &image_layout); in wsi_create_native_image()
363 image->sizes[p] = image_layout.size; in wsi_create_native_image()
364 image->row_pitches[p] = image_layout.rowPitch; in wsi_create_native_image()
365 image->offsets[p] = image_layout.offset; in wsi_create_native_image()
385 VkSubresourceLayout image_layout; in wsi_create_native_image() local
387 &image_subresource, &image_layout); in wsi_create_native_image()
392 image->row_pitches[0] = image_layout.rowPitch; in wsi_create_native_image()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp757 VkImageLayout image_layout; in ValidateDrawState() local
760image_layout = static_cast<const ImageSamplerDescriptor *>(descriptor)->GetImageLayout(); in ValidateDrawState()
763image_layout = static_cast<const ImageDescriptor *>(descriptor)->GetImageLayout(); in ValidateDrawState()
809 … image_view_ci.subresourceRange.aspectMask, image_layout, VK_IMAGE_LAYOUT_UNDEFINED, in ValidateDrawState()
1309 bool CoreChecks::ValidateImageUpdate(VkImageView image_view, VkImageLayout image_layout, VkDescript… in ValidateImageUpdate() argument
1349 switch (image_layout) { in ValidateImageUpdate()
1386 … << string_VkImageLayout(image_layout) << " but does not have STENCIL or DEPTH aspects set"; in ValidateImageUpdate()
1394 … << string_VkImageLayout(image_layout) << " but the image format is " << string_VkFormat(format) in ValidateImageUpdate()
1408 … << string_VkImageLayout(image_layout) << " and is using depth/stencil image of format " in ValidateImageUpdate()
1440 } else if (VK_IMAGE_LAYOUT_GENERAL != image_layout) { in ValidateImageUpdate()
[all …]
Dbuffer_validation.cpp3452 VkImageLayout image_layout; in ValidateCmdBufImageLayouts() local
3453 …(FindLayout(overlayLayoutMap, isr_pair, image_layout) || FindLayout(globalImageLayoutMap, isr_pair… in ValidateCmdBufImageLayouts()
3456 } else if (image_layout != initial_layout) { in ValidateCmdBufImageLayouts()
3460 …bool matches = ImageLayoutMatches(initial_layout_state->aspect_mask, image_layout, initial_layout); in ValidateCmdBufImageLayouts()
3470 string_VkImageLayout(image_layout), formatted_label.c_str()); in ValidateCmdBufImageLayouts()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c1083 VkImageLayout image_layout, in radv_can_fast_clear_depth() argument
1093 …if (!radv_layout_is_htile_compressed(cmd_buffer->device, iview->image, image_layout, in_render_loo… in radv_can_fast_clear_depth()
1689 VkImageLayout image_layout, in radv_can_fast_clear_color() argument
1700 if (!radv_layout_can_fast_clear(iview->image, image_layout, in_render_loop, in radv_can_fast_clear_color()
1859 VkImageLayout image_layout = subpass->color_attachments[subpass_att].layout; in emit_clear() local
1864 if (radv_can_fast_clear_color(cmd_buffer, iview, image_layout, in_render_loop, in emit_clear()
1881 VkImageLayout image_layout = ds_att->layout; in emit_clear() local
1889 if (radv_can_fast_clear_depth(cmd_buffer, iview, image_layout, in emit_clear()
2045 VkImageLayout image_layout, in radv_clear_image_layer() argument
2091 .initialLayout = image_layout, in radv_clear_image_layer()
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h277 … VkImageLayout image_layout, VkPipelineStageFlags src_stages = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
308 …void SetLayout(VkCommandBufferObj *cmd_buf, VkImageAspectFlags aspect, VkImageLayout image_layout);
309 void SetLayout(VkImageAspectFlags aspect, VkImageLayout image_layout);
Dvkrenderframework.cpp1016 VK_MEMORY_INPUT_COPY_BIT*/, VkImageLayout image_layout, in ImageMemoryBarrier() argument
1024 …barrier = image_memory_barrier(output_mask, input_mask, Layout(), image_layout, subresourceRange, … in ImageMemoryBarrier()
1034 …bj::SetLayout(VkCommandBufferObj *cmd_buf, VkImageAspectFlags aspect, VkImageLayout image_layout) { in SetLayout() argument
1043 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
1047 switch (image_layout) { in SetLayout()
1095 ImageMemoryBarrier(cmd_buf, aspect, src_mask, dst_mask, image_layout); in SetLayout()
1096 m_descriptorImageInfo.imageLayout = image_layout; in SetLayout()
1099 void VkImageObj::SetLayout(VkImageAspectFlags aspect, VkImageLayout image_layout) { in SetLayout() argument
1100 if (image_layout == m_descriptorImageInfo.imageLayout) { in SetLayout()
1109 SetLayout(&cmd_buf, aspect, image_layout); in SetLayout()
Dvklayertests_descriptor_renderpass_framebuffer.cpp4576 …bj *image, vk_testing::ImageView *view, VkImageAspectFlags aspect_mask, VkImageLayout image_layout, in TEST_F()
4587 …rier = image->image_memory_barrier(read_write, read_write, VK_IMAGE_LAYOUT_UNDEFINED, image_layout, in TEST_F()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c494 VkImageLayout image_layout, in copy_buffer_to_image() argument
521 image_layout, ISL_AUX_USAGE_NONE, in copy_buffer_to_image()