Home
last modified time | relevance | path

Searched refs:baseArrayLayer (Results 1 – 25 of 103) sorted by relevance

12345

/external/swiftshader/src/Vulkan/
DVkImageView.cpp76 range.baseArrayLayer, in ResolveRemainingLevelsLayers()
77 …(range.layerCount == VK_REMAINING_ARRAY_LAYERS) ? (image->getArrayLayers() - range.baseArrayLayer)… in ResolveRemainingLevelsLayers()
181 sr.baseArrayLayer = renderArea.baseArrayLayer + subresourceRange.baseArrayLayer; in clear()
194 r.baseArrayLayer = layer; in clearWithLayerMask()
210 subresourceRange.baseArrayLayer + layer, in resolve()
217 resolveAttachment->subresourceRange.baseArrayLayer + layer, in resolve()
238 subresourceRange.baseArrayLayer, in resolve()
245 resolveAttachment->subresourceRange.baseArrayLayer, in resolve()
355 subresourceRange.baseArrayLayer + layer, in getOffsetPointer()
DVkImage.cpp224 uint32_t layerCount = lastLayer - subresourceRange.baseArrayLayer + 1; in getSizeInBytes()
440 …rcSubresource.aspectMask, region.srcSubresource.mipLevel, region.srcSubresource.baseArrayLayer })); in copyTo()
441 …stSubresource.aspectMask, region.dstSubresource.mipLevel, region.dstSubresource.baseArrayLayer })); in copyTo()
515 … region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount }); in copyTo()
551 …bresource.aspectMask, region.imageSubresource.mipLevel, region.imageSubresource.baseArrayLayer })); in copy()
645 region.imageSubresource.baseArrayLayer, region.imageSubresource.layerCount }); in copy()
1019 …ount == VK_REMAINING_ARRAY_LAYERS) ? arrayLayers : (subresourceRange.baseArrayLayer + subresourceR… in getLastLayerIndex()
1116 subresourceRange.baseArrayLayer in contentsChanged()
1120 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in contentsChanged()
1147 subresourceRange.baseArrayLayer in prepareForSampling()
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c53 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_resolve()
58 region.srcSubresource.baseArrayLayer = 0; in blit_resolve()
69 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve()
74 region.dstSubresource.baseArrayLayer = 0; in blit_resolve()
134 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_native()
139 region.srcSubresource.baseArrayLayer = 0; in blit_native()
153 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native()
158 region.dstSubresource.baseArrayLayer = 0; in blit_native()
/external/vulkan-validation-layers/layers/
Dhash_vk_types.h89 (lhs.baseArrayLayer == rhs.baseArrayLayer) && (lhs.layerCount == rhs.layerCount);
96 …hc << value.aspectMask << value.baseMipLevel << value.levelCount << value.baseArrayLayer << value.…
Dbuffer_validation.cpp48 subresource_range.baseArrayLayer = subresource_layers.baseArrayLayer; in RangeFromLayers()
356 sub_range.baseArrayLayer = 0; in SetImageViewLayout()
768 … range.aspectMask, range.baseMipLevel, range.levelCount, range.baseArrayLayer, range.layerCount, in ValidateBarriersToImages()
1065 normalized_isr.baseArrayLayer = 0; in TransitionImageLayouts()
1628 array_layer_count = layers - range->baseArrayLayer; in ResolveRemainingLayers()
1856 …gesIntersect(rgn0->srcSubresource.baseArrayLayer, rgn0->srcSubresource.layerCount, rgn1->dstSubres… in RegionIntersects()
2215 … if ((0 != region.srcSubresource.baseArrayLayer) || (1 != region.srcSubresource.layerCount)) { in ValidateImageCopyData()
2221 … i, region.srcSubresource.baseArrayLayer, region.srcSubresource.layerCount); in ValidateImageCopyData()
2226 … if ((0 != region.srcSubresource.baseArrayLayer) || (1 != region.srcSubresource.layerCount)) { in ValidateImageCopyData()
2232 … i, region.srcSubresource.baseArrayLayer, region.srcSubresource.layerCount); in ValidateImageCopyData()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c100 .layer = subres->baseArrayLayer, in blit_surf_for_image_level_layer()
197 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_buffer_to_image()
364 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_image_to_buffer()
525 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
Dradv_meta_clear.c498 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, clear_rect->baseArrayLayer); in emit_color_clear()
903 radv_CmdDraw(cmd_buffer_h, 3, clear_rect->layerCount, 0, clear_rect->baseArrayLayer); in emit_depthstencil_clear()
1107 if (!view_mask && clear_rect->baseArrayLayer != 0) in radv_can_fast_clear_depth()
1144 .baseArrayLayer = 0, in radv_fast_clear_depth()
1485 offset += cmask_slice_size * range->baseArrayLayer; in radv_clear_cmask()
1513 offset += fmask_slice_size * range->baseArrayLayer; in radv_clear_fmask()
1551 surf_level->dcc_slice_fast_clear_size * range->baseArrayLayer; in radv_clear_dcc()
1571 image->planes[0].surface.htile_slice_size * range->baseArrayLayer; in radv_clear_htile()
1714 if (!view_mask && clear_rect->baseArrayLayer != 0) in radv_can_fast_clear_color()
1781 .baseArrayLayer = iview->base_layer, in radv_fast_clear_color()
[all …]
Dradv_meta_resolve.c494 .baseArrayLayer = dst_base_layer, in radv_meta_resolve_hardware_image()
521 .baseArrayLayer = src_base_layer + layer, in radv_meta_resolve_hardware_image()
537 .baseArrayLayer = dst_base_layer + layer, in radv_meta_resolve_hardware_image()
869 .baseArrayLayer = dest_iview->base_layer, in radv_cmd_buffer_resolve_subpass()
930 region.srcSubresource.baseArrayLayer = src_iview->base_layer; in radv_decompress_resolve_subpass_src()
946 region.srcSubresource.baseArrayLayer = src_iview->base_layer; in radv_decompress_resolve_subpass_src()
991 .baseArrayLayer = src_base_layer, in radv_decompress_resolve_src()
Dradv_meta_fast_clear.c607 .baseArrayLayer = range->baseArrayLayer + layer, in radv_process_color_image_layer()
875 .baseArrayLayer = subresourceRange->baseArrayLayer + s, in radv_decompress_dcc_compute()
889 .baseArrayLayer = subresourceRange->baseArrayLayer + s, in radv_decompress_dcc_compute()
Dradv_meta_resolve_cs.c859 .baseArrayLayer = src_base_layer + layer, in radv_meta_resolve_compute_image()
875 .baseArrayLayer = dest_base_layer + layer, in radv_meta_resolve_compute_image()
929 .baseArrayLayer = src_iview->base_layer, in radv_cmd_buffer_resolve_subpass_cs()
935 .baseArrayLayer = dst_iview->base_layer, in radv_cmd_buffer_resolve_subpass_cs()
1008 .baseArrayLayer = src_iview->base_layer + layer, in radv_depth_stencil_resolve_subpass_cs()
1024 .baseArrayLayer = dst_iview->base_layer + layer, in radv_depth_stencil_resolve_subpass_cs()
1046 range.baseArrayLayer = dst_iview->base_layer; in radv_depth_stencil_resolve_subpass_cs()
Dradv_meta_fmask_expand.c143 .baseArrayLayer = subresourceRange->baseArrayLayer + l, in radv_expand_fmask_image_inplace()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp185 deUint32 baseArrayLayer; member
195 … (imageViewLayerRange ? imageViewLayerRange->baseArrayLayer : 0) + attachmentClearLayerRange->base… in isInClearRange()
231 …if ((arrayLayer < imageViewLayerRange.baseArrayLayer) || (arrayLayer >= (imageViewLayerRange.baseA… in isInInitialClearRange()
781 layerRange.baseArrayLayer, // deUint32 baseArrayLayer; in createImageView()
1297 …ceRange(m_imageAspectFlags, mipLevel++, 1u, m_params.clearLayerRange.baseArrayLayer, m_params.clea… in iterate()
1349 …Range(m_imageAspectFlags, 0u, 1u, m_params.clearLayerRange.baseArrayLayer, m_twoStep ? 1… in iterate()
1350 …pectFlags, 0u, VK_REMAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, VK_REMAINING_… in iterate()
1354 …eAspectFlags, 0u, m_thresholdMipLevel, m_params.clearLayerRange.baseArrayLayer, m_params.clea… in iterate()
1355 …thresholdMipLevel, VK_REMAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, m_params.clea… in iterate()
1356 …eAspectFlags, 0u, m_thresholdMipLevel, m_params.clearLayerRange.baseArrayLayer, VK_REMAINING_… in iterate()
[all …]
/external/vulkan-validation-layers/tests/
Dvklayertests_command.cpp144 img_barrier.subresourceRange.baseArrayLayer = 0; in TEST_F()
1227 copyRegion.srcSubresource.baseArrayLayer = 0; in TEST_F()
1234 copyRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
1665 region.imageSubresource.baseArrayLayer = image_16k.create_info().arrayLayers; in TEST_F()
1673 region.imageSubresource.baseArrayLayer = 0; in TEST_F()
1695 ds_region.imageSubresource.baseArrayLayer = 0; in TEST_F()
1999 blitRegion.srcSubresource.baseArrayLayer = 0; in TEST_F()
2003 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
2077 copy_region.srcSubresource.baseArrayLayer = 0; in TEST_F()
2078 copy_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
[all …]
Dvklayertests_buffer_image_memory_sampler.cpp1427 blit_region.srcSubresource.baseArrayLayer = 0; in TEST_F()
1431 blit_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
1594 blitRegion.srcSubresource.baseArrayLayer = 0; in TEST_F()
1598 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
1714 blitRegion.srcSubresource.baseArrayLayer = 0; in TEST_F()
1718 blitRegion.dstSubresource.baseArrayLayer = 0; in TEST_F()
1796 blit_region.srcSubresource.baseArrayLayer = 0; in TEST_F()
1800 blit_region.dstSubresource.baseArrayLayer = 0; in TEST_F()
1871 img_barrier.subresourceRange.baseArrayLayer = 0; in TEST_F()
1956 blit_region.srcSubresource.baseArrayLayer = 0; in TEST_F()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_dump.c136 .baseArrayLayer = array_layer, in dump_image_do_blit()
155 .baseArrayLayer = array_layer, in dump_image_do_blit()
165 .baseArrayLayer = 0, in dump_image_do_blit()
193 .baseArrayLayer = 0, in dump_image_do_blit()
Danv_blorp.c316 dst_base_layer = region->dstSubresource.baseArrayLayer; in copy_image()
326 src_base_layer = region->srcSubresource.baseArrayLayer; in copy_image()
530 image.offset.z = region->imageSubresource.baseArrayLayer; in copy_buffer_to_image()
803 assert(dst_res->baseArrayLayer == 0); in blit_image()
807 dst_start = dst_res->baseArrayLayer; in blit_image()
813 assert(src_res->baseArrayLayer == 0); in blit_image()
817 src_start = src_res->baseArrayLayer; in blit_image()
1209 unsigned base_layer = pRanges[r].baseArrayLayer; in anv_CmdClearColorImage()
1284 unsigned base_layer = pRanges[r].baseArrayLayer; in anv_CmdClearDepthStencilImage()
1420 pRects[r].baseArrayLayer, in clear_color_attachment()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp844 preAttachmentBarriers[imgNdx].subresourceRange.baseArrayLayer = 0u; in ImageSamplingInstance()
1219 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1232 …rcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.baseArrayLayer); in getTexture1DView()
1246 DE_ASSERT(tex1DArray || subresource.baseArrayLayer == 0); in getTexture1DArrayView()
1255 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, (int)subresource.baseArrayLayer, 0, srcLevel.get… in getTexture1DArrayView()
1268 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DView()
1277 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subresource.baseArrayLayer, srcLevel.get… in getTexture2DView()
1289 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DArrayView()
1298 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subresource.baseArrayLayer, srcLevel.get… in getTexture2DArrayView()
1321 DE_ASSERT(texCubeArray || subresource.baseArrayLayer == 0); in getTextureCubeView()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c630 region->imageSubresource.baseArrayLayer + layer_offset : in emit_copy_layer_to_buffer_per_tile_list()
1028 .baseArrayLayer = region->imageSubresource.baseArrayLayer + i, in copy_image_to_buffer_blit()
1048 .baseArrayLayer = 0, in copy_image_to_buffer_blit()
1204 region->srcSubresource.baseArrayLayer + layer_offset : in emit_copy_image_layer_per_tile_list()
1222 region->dstSubresource.baseArrayLayer + layer_offset : in emit_copy_image_layer_per_tile_list()
1708 image->array_size - range->baseArrayLayer : in clear_image_tlb()
1710 min_layer = range->baseArrayLayer; in clear_image_tlb()
1711 max_layer = range->baseArrayLayer + layer_count; in clear_image_tlb()
2280 uint32_t layer = region->imageSubresource.baseArrayLayer + i; in copy_buffer_to_image_tfu()
2390 imgrsc->baseArrayLayer + layer, imgrsc->mipLevel, in emit_copy_buffer_to_layer_per_tile_list()
[all …]
Dv3dv_image.c593 assert(range->baseArrayLayer + v3dv_layer_count(image, range) - 1 <= in v3dv_CreateImageView()
597 assert(range->baseArrayLayer + v3dv_layer_count(image, range) - 1 in v3dv_CreateImageView()
624 iview->first_layer = range->baseArrayLayer; in v3dv_CreateImageView()
625 iview->last_layer = range->baseArrayLayer + in v3dv_CreateImageView()
/external/swiftshader/tests/VulkanWrapper/
DUtil.cpp85 barrier.subresourceRange.baseArrayLayer = 0; in transitionImageLayout()
127 region.imageSubresource.baseArrayLayer = 0; in copyBufferToImage()
DImage.cpp51 imageViewInfo.subresourceRange.baseArrayLayer = 0; in Image()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl69 …ags aspectMask, deUint32 baseMipLevel, deUint32 levelCount, deUint32 baseArrayLayer, deUint32 laye… argument
75 res.baseArrayLayer = baseArrayLayer;
353 …ceLayers (VkImageAspectFlags aspectMask, deUint32 mipLevel, deUint32 baseArrayLayer, deUint32 laye… argument
358 res.baseArrayLayer = baseArrayLayer;
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp4275 subresource.baseArrayLayer = 0; in initializeNonZeroMemory()
4398 uint32_t baseArrayLayer, in initLayerImageView() argument
4418 baseArrayLayer, layerCount, in initLayerImageView()
4430 uint32_t baseArrayLayer, in initLayerImageViewWithFormat() argument
4434 baseMipLevelVk, levelCount, baseArrayLayer, layerCount, in initLayerImageViewWithFormat()
4446 uint32_t baseArrayLayer, in initLayerImageViewImpl() argument
4475 viewInfo.subresourceRange.baseArrayLayer = baseArrayLayer; in initLayerImageViewImpl()
4507 uint32_t baseArrayLayer, in initReinterpretedLayerImageView() argument
4518 baseMipLevelVk, levelCount, baseArrayLayer, layerCount, in initReinterpretedLayerImageView()
4895 imageMemoryBarrier->subresourceRange.baseArrayLayer = 0; in initImageMemoryBarrierStruct()
[all …]
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c760 templ.u.tex.first_layer = iv->subresourceRange.baseArrayLayer; in fill_sampler_view_stage()
761 …templ.u.tex.last_layer = iv->subresourceRange.baseArrayLayer + lvp_get_layerCount(iv->image, &iv->… in fill_sampler_view_stage()
848 state->iv[p_stage][idx].u.tex.first_layer = iv->subresourceRange.baseArrayLayer; in fill_image_view_stage()
849 …state->iv[p_stage][idx].u.tex.last_layer = iv->subresourceRange.baseArrayLayer + lvp_get_layerCoun… in fill_image_view_stage()
1072 template.u.tex.first_layer = imgv->subresourceRange.baseArrayLayer; in add_img_view_surface()
1073 …template.u.tex.last_layer = imgv->subresourceRange.baseArrayLayer + lvp_get_layerCount(imgv->image… in add_img_view_surface()
1528 …_TYPE_3D ? copycmd->regions[i].imageOffset.z : copycmd->regions[i].imageSubresource.baseArrayLayer; in handle_copy_image_to_buffer()
1622 …_TYPE_3D ? copycmd->regions[i].imageOffset.z : copycmd->regions[i].imageSubresource.baseArrayLayer; in handle_copy_buffer_to_image()
1688 … src_box.z = copycmd->regions[i].srcOffset.z + copycmd->regions[i].srcSubresource.baseArrayLayer; in handle_copy_image()
1697 … copycmd->regions[i].dstOffset.z + copycmd->regions[i].dstSubresource.baseArrayLayer, in handle_copy_image()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c232 fdl_surface_offset(layout, range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
234 fdl_ubwc_offset(layout, range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
306 fdl_ubwc_offset(&image->layout[i], range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
311 fdl_surface_offset(&image->layout[i], range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
443 fdl_surface_offset(layout, range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()

12345