Home
last modified time | relevance | path

Searched refs:arrayLayer (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp371 for (uint32_t arrayLayer = baseArrayLayer; arrayLayer < baseArrayLayer + layerCount; in IsSubresourceContentInitialized() local
372 ++arrayLayer) { in IsSubresourceContentInitialized()
373 uint32_t subresourceIndex = GetSubresourceIndex(mipLevel, arrayLayer); in IsSubresourceContentInitialized()
389 for (uint32_t arrayLayer = baseArrayLayer; arrayLayer < baseArrayLayer + layerCount; in SetIsSubresourceContentInitialized() local
390 ++arrayLayer) { in SetIsSubresourceContentInitialized()
391 uint32_t subresourceIndex = GetSubresourceIndex(mipLevel, arrayLayer); in SetIsSubresourceContentInitialized()
DCommandEncoder.cpp42 if (textureCopy.arrayLayer >= texture->GetArrayLayers()) { in ValidateCopySizeFitsInTexture()
787 copy->destination.arrayLayer = destination->arrayLayer; in CopyBufferToTexture()
822 copy->source.arrayLayer = source->arrayLayer; in CopyTextureToBuffer()
858 copy->source.arrayLayer = source->arrayLayer; in CopyTextureToTexture()
862 copy->destination.arrayLayer = destination->arrayLayer; in CopyTextureToTexture()
DCommands.h104 uint32_t arrayLayer; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm528 for (uint32_t arrayLayer = range.baseArrayLayer;
529 arrayLayer < range.baseArrayLayer + range.layerCount; arrayLayer++) {
532 level, arrayLayer, range.aspects))) {
548 level, arrayLayer, aspect))) {
558 descriptor.depthAttachment.slice = arrayLayer;
566 descriptor.stencilAttachment.slice = arrayLayer;
593 for (uint32_t arrayLayer = range.baseArrayLayer;
594 arrayLayer < range.baseArrayLayer + range.layerCount; arrayLayer++) {
597 level, arrayLayer, Aspect::Color))) {
618 [*descriptor colorAttachments][attachment].slice = arrayLayer;
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp351 pLayout->offset = getMemoryOffset(aspect, pSubresource->mipLevel, pSubresource->arrayLayer); in getSubresourceLayout()
692 … getMemoryOffset(aspect, subresource.mipLevel, subresource.arrayLayer)); in getTexelPointer()
1141 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in contentsChanged()
1142 subresource.arrayLayer <= lastLayer; in contentsChanged()
1143 subresource.arrayLayer++) in contentsChanged()
1185 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in prepareForSampling()
1186 subresource.arrayLayer <= lastLayer; in prepareForSampling()
1187 subresource.arrayLayer++) in prepareForSampling()
1205 for(subresource.arrayLayer = subresourceRange.baseArrayLayer; in prepareForSampling()
1206 subresource.arrayLayer <= lastLayer; in prepareForSampling()
[all …]
DVkImage.hpp177 (subresource.arrayLayer == other.subresource.arrayLayer); in operator ==()
184 static_cast<size_t>(other.subresource.arrayLayer); in operator ()()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp195 …const UVec4& clearCoords, const deUint32 x, const deUint32 y, deUint32 arrayLayer = 0, tcu::Maybe<… in isInClearRange() argument
204 if ((arrayLayer < clearBaseLayer) || (arrayLayer >= (clearLayerCount))) in isInClearRange()
222 inline bool isInInitialClearRange (deUint32 mipLevel, deUint32 arrayLayer, LayerRange imageViewLaye… in isInInitialClearRange() argument
231 …if ((arrayLayer < imageViewLayerRange.baseArrayLayer) || (arrayLayer >= (imageViewLayerRange.baseA… in isInInitialClearRange()
1057 …id> ImageClearingTestInstance::readImage (VkImageAspectFlags aspectMask, deUint32 arrayLayer) const in readImage()
1122 { aspectMask, mipLevel, arrayLayer, 1u }, // VkImageSubresourceLayers imageSubresource; in readImage()
1185 …for (deUint32 arrayLayer = 0; arrayLayer < m_params.imageLayerCount && !errorsPresent; ++arrayLaye… in verifyResultImage() local
1187 de::MovePtr<TextureLevelPyramid> image = readImage(VK_IMAGE_ASPECT_DEPTH_BIT, arrayLayer); in verifyResultImage()
1200 …if (isInClearRange(clearCoords, x, y, arrayLayer, m_params.imageViewLayerRange, m_params.clearLaye… in verifyResultImage()
1203 if (isInInitialClearRange(0u /* mipLevel */, arrayLayer, m_params.imageViewLayerRange)) in verifyResultImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageClearingTests.cpp195 …const UVec4& clearCoords, const deUint32 x, const deUint32 y, deUint32 arrayLayer = 0, tcu::Maybe<… in isInClearRange() argument
204 if ((arrayLayer < clearBaseLayer) || (arrayLayer >= (clearLayerCount))) in isInClearRange()
222 inline bool isInInitialClearRange (deUint32 mipLevel, deUint32 arrayLayer, LayerRange imageViewLaye… in isInInitialClearRange() argument
231 …if ((arrayLayer < imageViewLayerRange.baseArrayLayer) || (arrayLayer >= (imageViewLayerRange.baseA… in isInInitialClearRange()
1057 …id> ImageClearingTestInstance::readImage (VkImageAspectFlags aspectMask, deUint32 arrayLayer) const in readImage()
1122 { aspectMask, mipLevel, arrayLayer, 1u }, // VkImageSubresourceLayers imageSubresource; in readImage()
1185 …for (deUint32 arrayLayer = 0; arrayLayer < m_params.imageLayerCount && !errorsPresent; ++arrayLaye… in verifyResultImage() local
1187 de::MovePtr<TextureLevelPyramid> image = readImage(VK_IMAGE_ASPECT_DEPTH_BIT, arrayLayer); in verifyResultImage()
1200 …if (isInClearRange(clearCoords, x, y, arrayLayer, m_params.imageViewLayerRange, m_params.clearLaye… in verifyResultImage()
1203 if (isInInitialClearRange(0u /* mipLevel */, arrayLayer, m_params.imageViewLayerRange)) in verifyResultImage()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresourceStorage.h121 const T& Get(Aspect aspect, uint32_t arrayLayer, uint32_t mipLevel) const;
388 uint32_t arrayLayer, in Get() argument
392 ASSERT(arrayLayer < mArrayLayerCount); in Get()
401 if (LayerCompressed(aspectIndex, arrayLayer)) { in Get()
402 return Data(aspectIndex, arrayLayer); in Get()
405 return Data(aspectIndex, arrayLayer, mipLevel); in Get()
DTexture.cpp576 for (uint32_t arrayLayer = range.baseArrayLayer; in IsSubresourceContentInitialized() local
577 arrayLayer < range.baseArrayLayer + range.layerCount; ++arrayLayer) { in IsSubresourceContentInitialized()
580 uint32_t subresourceIndex = GetSubresourceIndex(mipLevel, arrayLayer, aspect); in IsSubresourceContentInitialized()
595 for (uint32_t arrayLayer = range.baseArrayLayer; in SetIsSubresourceContentInitialized() local
596 arrayLayer < range.baseArrayLayer + range.layerCount; ++arrayLayer) { in SetIsSubresourceContentInitialized()
599 uint32_t subresourceIndex = GetSubresourceIndex(mipLevel, arrayLayer, aspect); in SetIsSubresourceContentInitialized()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DNonzeroTextureCreationTests.cpp196 for (uint32_t arrayLayer = 0; in Run() local
197 arrayLayer < GetParam().mDepthOrArrayLayers; ++arrayLayer) { in Run()
198 ExpectSampledDepthData(texture, mipSize, mipSize, arrayLayer, mip, in Run()
200 << "arrayLayer " << arrayLayer; in Run()
DSubresourceRenderAttachmentTests.cpp136 for (uint32_t arrayLayer : {0u, kArrayLayerCount / 2, kArrayLayerCount - 1u}) { in DoTest()
138 DoSingleTest(type, format, renderTarget, kTextureSize, arrayLayer, mipLevel); in DoTest()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp399 texture->SetIsSubresourceContentInitialized(dst.mipLevel, 1, dst.arrayLayer, in Execute()
403 dst.arrayLayer, 1); in Execute()
418 dst.arrayLayer, copySize.width, copySize.height, 1, in Execute()
448 texture->EnsureSubresourceContentInitialized(src.mipLevel, 1, src.arrayLayer, in Execute()
462 src.mipLevel, src.arrayLayer); in Execute()
497 srcTexture->EnsureSubresourceContentInitialized(src.mipLevel, 1, src.arrayLayer, in Execute()
501 dst.arrayLayer, 1); in Execute()
504 dst.arrayLayer, 1); in Execute()
507 src.mipLevel, src.origin.x, src.origin.y, src.arrayLayer, in Execute()
509 dst.mipLevel, dst.origin.x, dst.origin.y, dst.arrayLayer, in Execute()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.h424 uint32_t arrayLayer,
433 uint32_t arrayLayer,
440 uint32_t arrayLayer,
453 uint32_t arrayLayer,
462 uint32_t arrayLayer, in ExpectAttachmentDepthTestData() argument
465 return ExpectAttachmentDepthStencilTestData(texture, format, width, height, arrayLayer, in ExpectAttachmentDepthTestData()
473 uint32_t arrayLayer, in ExpectAttachmentStencilTestData() argument
476 return ExpectAttachmentDepthStencilTestData(texture, format, width, height, arrayLayer, in ExpectAttachmentStencilTestData()
DDawnTest.cpp1226 uint32_t arrayLayer, in ExpectSampledFloatData() argument
1233 viewDesc.baseArrayLayer = arrayLayer; in ExpectSampledFloatData()
1245 uint32_t arrayLayer, in ExpectMultisampledFloatData() argument
1252 viewDesc.baseArrayLayer = arrayLayer; in ExpectMultisampledFloatData()
1262 uint32_t arrayLayer, in ExpectSampledDepthData() argument
1270 viewDesc.baseArrayLayer = arrayLayer; in ExpectSampledDepthData()
1282 uint32_t arrayLayer, in ExpectAttachmentDepthStencilTestData() argument
1376 viewDesc.baseArrayLayer = arrayLayer; in ExpectAttachmentDepthStencilTestData()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp513 copy->destination.mipLevel, 1, copy->destination.arrayLayer, 1); in RecordCommands()
517 copy->destination.arrayLayer, 1); in RecordCommands()
529 copy->destination.arrayLayer); in RecordCommands()
564 1, copy->source.arrayLayer, 1); in RecordCommands()
576 copy->source.arrayLayer); in RecordCommands()
614 1, copy->source.arrayLayer, 1); in RecordCommands()
618 copy->destination.mipLevel, 1, copy->destination.arrayLayer, 1); in RecordCommands()
622 copy->destination.arrayLayer, 1); in RecordCommands()
634 copy->source.arrayLayer); in RecordCommands()
639 copy->destination.arrayLayer); in RecordCommands()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DDawnHelpers.cpp248 uint32_t arrayLayer, in CreateTextureCopyView() argument
253 textureCopyView.arrayLayer = arrayLayer; in CreateTextureCopyView()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dget_image_subresource_layout_common.adoc14 * [[VUID-{refpage}-arrayLayer-01717]]
15 The pname:arrayLayer member of pname:pSubresource must: be less than the
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c222 pSubresource->arrayLayer, in lvp_GetImageSubresourceLayout()
233 pSubresource->arrayLayer, in lvp_GetImageSubresourceLayout()
244 pSubresource->arrayLayer, in lvp_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBlitter.cpp138 subres.arrayLayer = 0; in clear()
147 …for(subres.arrayLayer = subresourceRange.baseArrayLayer; subres.arrayLayer <= lastLayer; subres.ar… in clear()
267 …for(subres.arrayLayer = subresourceRange.baseArrayLayer; subres.arrayLayer <= lastLayer; subres.ar… in fastClear()
1954 for(; dstSubres.arrayLayer <= lastLayer; srcSubres.arrayLayer++, dstSubres.arrayLayer++) in blit()
2291 ASSERT(image->getArrayLayers() >= (subresource.arrayLayer + 6)); in updateBorders()
2298 negX.arrayLayer++; in updateBorders()
2300 posY.arrayLayer++; in updateBorders()
2302 negY.arrayLayer++; in updateBorders()
2304 posZ.arrayLayer++; in updateBorders()
2306 negZ.arrayLayer++; in updateBorders()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrUtil.hpp108 deUint32 arrayLayer = 0u);
118 deUint32 arrayLayer = 0u);
DvktYCbCrFormatTests.cpp327 const deUint32 arrayLayer = arrayLayers - 1u; in testFormat() local
478 arrayLayer); in testFormat()
491 arrayLayer); in testFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp108 deUint32 arrayLayer = 0u);
118 deUint32 arrayLayer = 0u);
DvktYCbCrFormatTests.cpp327 const deUint32 arrayLayer = arrayLayers - 1u; in testFormat() local
478 arrayLayer); in testFormat()
491 arrayLayer); in testFormat()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c246 pvr_assert(subresource->arrayLayer < image->vk.array_layers); in pvr_GetImageSubresourceLayout()
249 subresource->arrayLayer * image->layer_size + mip_level->offset; in pvr_GetImageSubresourceLayout()

1234