Home
last modified time | relevance | path

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

1234

/external/swiftshader/src/Vulkan/
DVkImageView.cpp48 range.baseArrayLayer, in ResolveRemainingLevelsLayers()
49 …(range.layerCount == VK_REMAINING_ARRAY_LAYERS) ? (image->getArrayLayers() - range.baseArrayLayer)… in ResolveRemainingLevelsLayers()
141 sr.baseArrayLayer = renderArea.baseArrayLayer + subresourceRange.baseArrayLayer; in clear()
154 r.baseArrayLayer = layer; in clearWithLayerMask()
170 subresourceRange.baseArrayLayer + layer, in resolve()
177 resolveAttachment->subresourceRange.baseArrayLayer + layer, in resolve()
198 subresourceRange.baseArrayLayer, in resolve()
205 resolveAttachment->subresourceRange.baseArrayLayer, in resolve()
278 subresourceRange.baseArrayLayer + layer, in getOffsetPointer()
DVkImage.cpp403 … region.dstSubresource.baseArrayLayer, region.dstSubresource.layerCount }); in copyTo()
532 … region.imageSubresource.baseArrayLayer, region.imageSubresource.layerCount }); in copy()
550 … getMemoryOffset(aspect, subresource.mipLevel, subresource.baseArrayLayer)); in getTexelPointer()
906 …ount == VK_REMAINING_ARRAY_LAYERS) ? arrayLayers : (subresourceRange.baseArrayLayer + subresourceR… in getLastLayerIndex()
1060 subresourceRange.baseArrayLayer, in prepareForSampling()
1069 for(subresourceLayers.baseArrayLayer = 0; in prepareForSampling()
1070 subresourceLayers.baseArrayLayer < arrayLayers - 5; in prepareForSampling()
1071 subresourceLayers.baseArrayLayer += 6) in prepareForSampling()
1092 …{ subresourceRange.aspectMask, subresourceRange.baseMipLevel, subresourceRange.baseArrayLayer, 1 }; in decodeETC2()
1093 for(; subresourceLayers.baseArrayLayer <= lastLayer; subresourceLayers.baseArrayLayer++) in decodeETC2()
[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/swiftshader/src/Device/
DBlitter.cpp91 subresourceRange.baseArrayLayer, in clear()
133 subresLayers.baseArrayLayer = 0; in clear()
135 for(uint32_t depth = subresourceRange.baseArrayLayer; depth <= lastLayer; depth++) in clear()
143 …for(subresLayers.baseArrayLayer = subresourceRange.baseArrayLayer; subresLayers.baseArrayLayer <= … in clear()
211 subresourceRange.baseArrayLayer, in fastClear()
239 …for(subresLayers.baseArrayLayer = subresourceRange.baseArrayLayer; subresLayers.baseArrayLayer <= … in fastClear()
1658 subresource.baseArrayLayer, in blitToBuffer()
1664 for(; srcSubresLayers.baseArrayLayer <= lastLayer; srcSubresLayers.baseArrayLayer++) in blitToBuffer()
1722 subresource.baseArrayLayer, in blitFromBuffer()
1728 for(; dstSubresLayers.baseArrayLayer <= lastLayer; dstSubresLayers.baseArrayLayer++) in blitFromBuffer()
[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()
Dradv_meta_blit.c576 assert(dst_res->baseArrayLayer == 0); in blit_image()
580 dst_start = dst_res->baseArrayLayer; in blit_image()
586 assert(src_res->baseArrayLayer == 0); in blit_image()
590 src_start = src_res->baseArrayLayer; in blit_image()
664 .baseArrayLayer = dst_array_slice, in blit_image()
678 .baseArrayLayer = src_array_slice, in blit_image()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp2192 uint32_t baseArrayLayer, in initLayerImageView() argument
2218 viewInfo.subresourceRange.baseArrayLayer = baseArrayLayer; in initLayerImageView()
2392 imageMemoryBarrier.subresourceRange.baseArrayLayer = 0; in forceChangeLayoutAndQueue()
2410 uint32_t baseArrayLayer, in clearColor() argument
2422 range.baseArrayLayer = baseArrayLayer; in clearColor()
2432 uint32_t baseArrayLayer, in clearDepthStencil() argument
2444 /*baseArrayLayer*/ baseArrayLayer, in clearDepthStencil()
2454 uint32_t baseArrayLayer, in clear() argument
2463 clearDepthStencil(aspectFlags, value.depthStencil, mipLevel, 1, baseArrayLayer, layerCount, in clear()
2468 clearColor(value.color, mipLevel, 1, baseArrayLayer, layerCount, commandBuffer); in clear()
[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/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()
778 layerRange.baseArrayLayer, // deUint32 baseArrayLayer; in createImageView()
1280 …Range(m_imageAspectFlags, 0u, 1u, m_params.clearLayerRange.baseArrayLayer, m_twoStep ? 1… in iterate()
1281 …pectFlags, 0u, VK_REMAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, VK_REMAINING_… in iterate()
1285 …eAspectFlags, 0u, m_thresholdMipLevel, m_params.clearLayerRange.baseArrayLayer, m_params.clea… in iterate()
1286 …thresholdMipLevel, VK_REMAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, m_params.clea… in iterate()
1287 …eAspectFlags, 0u, m_thresholdMipLevel, m_params.clearLayerRange.baseArrayLayer, VK_REMAINING_… in iterate()
1288 …thresholdMipLevel, VK_REMAINING_MIP_LEVELS, m_params.clearLayerRange.baseArrayLayer, VK_REMAINING_… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp772 preAttachmentBarriers[imgNdx].subresourceRange.baseArrayLayer = 0u; in ImageSamplingInstance()
1147 resolved.layerCount = testTexture.getArraySize()-subresource.baseArrayLayer; in resolveSubresourceRange()
1160 …rcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.baseArrayLayer); in getTexture1DView()
1174 DE_ASSERT(tex1DArray || subresource.baseArrayLayer == 0); in getTexture1DArrayView()
1183 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, (int)subresource.baseArrayLayer, 0, srcLevel.get… in getTexture1DArrayView()
1196 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DView()
1205 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subresource.baseArrayLayer, srcLevel.get… in getTexture2DView()
1217 DE_ASSERT(tex2DArray || subresource.baseArrayLayer == 0); in getTexture2DArrayView()
1226 …levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subresource.baseArrayLayer, srcLevel.get… in getTexture2DArrayView()
1249 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/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl112 …ags aspectMask, deUint32 baseMipLevel, deUint32 levelCount, deUint32 baseArrayLayer, deUint32 laye… argument
118 res.baseArrayLayer = baseArrayLayer;
323 …ceLayers (VkImageAspectFlags aspectMask, deUint32 mipLevel, deUint32 baseArrayLayer, deUint32 laye… argument
328 res.baseArrayLayer = baseArrayLayer;
/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()

1234