Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresource.cpp100 baseArrayLayer(arrayLayerParam.first), in SubresourceRange()
107 : aspects(Aspect::None), baseArrayLayer(0), layerCount(0), baseMipLevel(0), levelCount(0) { in SubresourceRange()
112 uint32_t baseArrayLayer, in SingleMipAndLayer() argument
114 return {aspects, {baseArrayLayer, 1}, {baseMipLevel, 1}}; in SingleMipAndLayer()
119 uint32_t baseArrayLayer, in MakeSingle() argument
122 return {aspect, {baseArrayLayer, 1}, {baseMipLevel, 1}}; in MakeSingle()
DSubresource.h78 uint32_t baseArrayLayer;
84 uint32_t baseArrayLayer,
87 uint32_t baseArrayLayer,
DTexture.cpp358 uint64_t(descriptor->baseArrayLayer) + uint64_t(descriptor->arrayLayerCount) > in ValidateTextureViewDescriptor()
362 descriptor->baseArrayLayer, descriptor->arrayLayerCount, texture->GetArrayLayers()); in ValidateTextureViewDescriptor()
421 desc.arrayLayerCount = texture->GetArrayLayers() - desc.baseArrayLayer; in GetTextureViewDescriptorWithDefaults()
576 for (uint32_t arrayLayer = range.baseArrayLayer; in IsSubresourceContentInitialized()
577 arrayLayer < range.baseArrayLayer + range.layerCount; ++arrayLayer) { in IsSubresourceContentInitialized()
595 for (uint32_t arrayLayer = range.baseArrayLayer; in SetIsSubresourceContentInitialized()
596 arrayLayer < range.baseArrayLayer + range.layerCount; ++arrayLayer) { in SetIsSubresourceContentInitialized()
699 {descriptor->baseArrayLayer, descriptor->arrayLayerCount}, in TextureViewBase()
764 return mRange.baseArrayLayer; in GetBaseArrayLayer()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSubresourceRenderAttachmentTests.cpp32 uint32_t baseArrayLayer, in DoSingleTest() argument
35 renderTargetViewDesc.baseArrayLayer = baseArrayLayer; in DoSingleTest()
82 EXPECT_TEXTURE_EQ(expected.data(), renderTarget, {0, 0, baseArrayLayer}, in DoSingleTest()
88 EXPECT_TEXTURE_EQ(expected.data(), renderTarget, {0, 0, baseArrayLayer}, in DoSingleTest()
94 EXPECT_TEXTURE_EQ(expected.data(), renderTarget, {0, 0, baseArrayLayer}, in DoSingleTest()
DTextureSubresourceTests.cpp40 uint32_t baseArrayLayer) { in CreateTextureView() argument
43 viewDesc.baseArrayLayer = baseArrayLayer; in CreateTextureView()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImageView.cpp77 range.baseArrayLayer, in ResolveRemainingLevelsLayers()
78 …(range.layerCount == VK_REMAINING_ARRAY_LAYERS) ? (image->getArrayLayers() - range.baseArrayLayer)… in ResolveRemainingLevelsLayers()
205 sr.baseArrayLayer = renderArea.baseArrayLayer + subresourceRange.baseArrayLayer; in clear()
218 r.baseArrayLayer = layer; in clearWithLayerMask()
236 subresourceRange.baseArrayLayer + layer, in resolve()
243 resolveAttachment->subresourceRange.baseArrayLayer + layer, in resolve()
266 subresourceRange.baseArrayLayer, in resolve()
273 resolveAttachment->subresourceRange.baseArrayLayer, in resolve()
379 subresourceRange.baseArrayLayer + layer, in getOffsetPointer()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp73 descriptor.baseArrayLayer = 0; in CreateDefaultViewDescriptor()
217 descriptor.baseArrayLayer = 0; in TEST_F()
219 descriptor.baseArrayLayer = 1; in TEST_F()
221 descriptor.baseArrayLayer = kDefaultArrayLayers - 1; in TEST_F()
223 descriptor.baseArrayLayer = kDefaultArrayLayers; in TEST_F()
230 descriptor.baseArrayLayer = 0; in TEST_F()
233 descriptor.baseArrayLayer = 1; in TEST_F()
236 descriptor.baseArrayLayer = kDefaultArrayLayers - 1; in TEST_F()
239 descriptor.baseArrayLayer = kDefaultArrayLayers; in TEST_F()
330 descriptor.baseArrayLayer = 0; in TEST_F()
[all …]
DTextureSubresourceTests.cpp41 uint32_t baseArrayLayer) { in CreateTextureView() argument
44 viewDesc.baseArrayLayer = baseArrayLayer; in CreateTextureView()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp424 uint32_t baseArrayLayer, in GetRTVDescriptor() argument
432 ASSERT(baseArrayLayer == 0); in GetRTVDescriptor()
443 rtvDesc.Texture2DArray.FirstArraySlice = baseArrayLayer; in GetRTVDescriptor()
470 uint32_t baseArrayLayer, in ClearTexture() argument
474 SetIsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, in ClearTexture()
509 GetRTVDescriptor(i, baseArrayLayer, layerCount); in ClearTexture()
515 SetIsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, layerCount); in ClearTexture()
521 uint32_t baseArrayLayer, in EnsureSubresourceContentInitialized() argument
526 if (!IsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, in EnsureSubresourceContentInitialized()
530 ClearTexture(commandList, baseMipLevel, levelCount, baseArrayLayer, layerCount); in EnsureSubresourceContentInitialized()
[all …]
DTextureD3D12.h45 uint32_t baseArrayLayer,
51 uint32_t baseArrayLayer,
60 uint32_t baseArrayLayer,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp217 GLint baseArrayLayer, in ClearTexture() argument
248 gl.ClearTexSubImage(mHandle, level, 0, 0, baseArrayLayer, GetSize().width, in ClearTexture()
253 SetIsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, layerCount); in ClearTexture()
258 uint32_t baseArrayLayer, in EnsureSubresourceContentInitialized() argument
263 if (!IsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, in EnsureSubresourceContentInitialized()
265 ClearTexture(baseMipLevel, levelCount, baseArrayLayer, layerCount); in EnsureSubresourceContentInitialized()
288 descriptor->mipLevelCount, descriptor->baseArrayLayer, in TextureView()
DTextureGL.h47 uint32_t baseArrayLayer,
54 GLint baseArrayLayer,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DTexture.cpp145 descriptor.baseArrayLayer = 0; in MakeDefaultTextureViewDescriptor()
263 if (uint64_t(descriptor->baseArrayLayer) + uint64_t(descriptor->arrayLayerCount) > in ValidateTextureViewDescriptor()
367 uint32_t baseArrayLayer, in IsSubresourceContentInitialized() argument
371 for (uint32_t arrayLayer = baseArrayLayer; arrayLayer < baseArrayLayer + layerCount; in IsSubresourceContentInitialized()
385 uint32_t baseArrayLayer, in SetIsSubresourceContentInitialized() argument
389 for (uint32_t arrayLayer = baseArrayLayer; arrayLayer < baseArrayLayer + layerCount; in SetIsSubresourceContentInitialized()
480 mBaseArrayLayer(descriptor->baseArrayLayer), in TextureViewBase()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c103 .layer = subres->baseArrayLayer, in blit_surf_for_image_level_layer()
192 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_buffer_to_image()
319 .baseArrayLayer = region->imageSubresource.baseArrayLayer, in copy_image_to_buffer()
428 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
478 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
564 .baseArrayLayer = region->dstSubresource.baseArrayLayer, in copy_image()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.cpp437 range.baseArrayLayer = 0; in Texture()
524 barrier.subresourceRange.baseArrayLayer = 0; in TransitionUsageNow()
537 uint32_t baseArrayLayer, in ClearTexture() argument
543 range.baseArrayLayer = baseArrayLayer; in ClearTexture()
565 SetIsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, layerCount); in ClearTexture()
571 uint32_t baseArrayLayer, in EnsureSubresourceContentInitialized() argument
576 if (!IsSubresourceContentInitialized(baseMipLevel, levelCount, baseArrayLayer, in EnsureSubresourceContentInitialized()
586 ClearTexture(commands, baseMipLevel, levelCount, baseArrayLayer, layerCount); in EnsureSubresourceContentInitialized()
607 createInfo.subresourceRange.baseArrayLayer = descriptor->baseArrayLayer; in TextureView()
DTextureVk.h45 uint32_t baseArrayLayer,
53 uint32_t baseArrayLayer,
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c72 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_resolve()
77 region.srcSubresource.baseArrayLayer = 0; in blit_resolve()
88 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve()
93 region.dstSubresource.baseArrayLayer = 0; in blit_resolve()
185 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_native()
192 region.srcSubresource.baseArrayLayer = 0; in blit_native()
199 region.srcSubresource.baseArrayLayer = 0; in blit_native()
220 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native()
227 region.dstSubresource.baseArrayLayer = 0; in blit_native()
234 region.dstSubresource.baseArrayLayer = 0; in blit_native()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCompressedTextureFormatTests.cpp55 uint32_t baseArrayLayer = 0; member
111 copyConfig.baseArrayLayer, copyConfig.copyOrigin3D); in CopyDataIntoCompressedTexture()
122 uint32_t baseArrayLayer = 0, in CreateBindGroupForTest() argument
133 textureViewDescriptor.baseArrayLayer = baseArrayLayer; in CreateBindGroupForTest()
216 bcTexture, config.format, config.baseArrayLayer, config.baseMipmapLevel); in TestCopyRegionIntoBCFormatTextures()
479 config.baseArrayLayer = kArrayLayerCount - 1; in TEST_P()
557 bcTextureSrc, config.baseMipmapLevel, config.baseArrayLayer, config.copyOrigin3D); in TEST_P()
559 bcTexture, config.baseMipmapLevel, config.baseArrayLayer, config.copyOrigin3D); in TEST_P()
568 bcTexture, config.format, config.baseArrayLayer, config.baseMipmapLevel); in TEST_P()
625 srcConfig.baseArrayLayer, srcConfig.copyOrigin3D); in TEST_P()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c122 image->pimage.layout.array_size - pCreateInfo->subresourceRange.baseArrayLayer : in panvk_per_arch()
128 view->pview.first_layer = pCreateInfo->subresourceRange.baseArrayLayer; in panvk_per_arch()
129 view->pview.last_layer = pCreateInfo->subresourceRange.baseArrayLayer + layer_count - 1; in panvk_per_arch()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUTexture.cpp42 !conv(desc.baseArrayLayer, descriptor.baseArrayLayer) || // in createView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp290 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
291 layer < range.baseArrayLayer + range.layerCount; ++layer) { in ClearTexture()
355 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
356 layer < range.baseArrayLayer + range.layerCount; ++layer) { in ClearTexture()
500 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
501 layer < range.baseArrayLayer + range.layerCount; ++layer) { in ClearTexture()
556 descriptor->baseArrayLayer, descriptor->arrayLayerCount); in TextureView()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c102 min_layer = range->baseArrayLayer; in clear_image_tlb()
103 max_layer = range->baseArrayLayer + in clear_image_tlb()
1069 uint32_t layer = rects[i].baseArrayLayer + layer_offset; in emit_subpass_color_clear_rects()
1076 assert(rects[i].baseArrayLayer == 0 && rects[i].layerCount == 1); in emit_subpass_color_clear_rects()
1170 uint32_t layer = rects[i].baseArrayLayer + layer_offset; in emit_subpass_ds_clear_rects()
1177 assert(rects[i].baseArrayLayer == 0 && rects[i].layerCount == 1); in emit_subpass_ds_clear_rects()
1191 uint32_t min_layer = rects[0].baseArrayLayer; in gather_layering_info()
1192 uint32_t max_layer = rects[0].baseArrayLayer + rects[0].layerCount - 1; in gather_layering_info()
1194 if (rects[i].baseArrayLayer != rects[i - 1].baseArrayLayer || in gather_layering_info()
1197 min_layer = MIN2(min_layer, rects[i].baseArrayLayer); in gather_layering_info()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPassDescriptorValidationTests.cpp214 baseDescriptor.baseArrayLayer = 0; in TEST_F()
245 descriptor.baseArrayLayer = 0; in TEST_F()
257 descriptor.baseArrayLayer = 0; in TEST_F()
269 descriptor.baseArrayLayer = kArrayLayers - 1; in TEST_F()
281 descriptor.baseArrayLayer = kArrayLayers - 1; in TEST_F()
307 baseDescriptor.baseArrayLayer = 0; in TEST_F()
514 errorTextureView.baseArrayLayer = kArrayLayers + 1; in TEST_F()
558 textureViewDescriptor.baseArrayLayer = 0; in TEST_F()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp1626 uint32_t baseArrayLayer, in initLayerImageView() argument
1652 viewInfo.subresourceRange.baseArrayLayer = baseArrayLayer; in initLayerImageView()
1827 imageMemoryBarrier.subresourceRange.baseArrayLayer = 0; in forceChangeLayoutAndQueue()
1839 uint32_t baseArrayLayer, in clearColor() argument
1851 range.baseArrayLayer = baseArrayLayer; in clearColor()
1862 uint32_t baseArrayLayer, in clearDepthStencil() argument
1874 /*baseArrayLayer*/ baseArrayLayer, in clearDepthStencil()
1883 uint32_t baseArrayLayer, in clear() argument
1893 clearDepthStencil(aspect, aspect, value.depthStencil, mipLevel, 1, baseArrayLayer, in clear()
1898 clearColor(value.color, mipLevel, 1, baseArrayLayer, layerCount, commandBuffer); in clear()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp826 bool isFullRange = range.baseArrayLayer == 0 && range.baseMipLevel == 0 && in TransitionSubresourceRange()
841 range.baseArrayLayer + arrayLayer, aspect); in TransitionSubresourceRange()
959 uint32_t baseArrayLayer, in GetDSVDescriptor() argument
977 ASSERT(baseArrayLayer == 0); in GetDSVDescriptor()
982 dsvDesc.Texture2DArray.FirstArraySlice = baseArrayLayer; in GetDSVDescriptor()
1005 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
1006 layer < range.baseArrayLayer + range.layerCount; ++layer) { in ClearTexture()
1056 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
1057 layer < range.baseArrayLayer + range.layerCount; ++layer) { in ClearTexture()
1113 for (uint32_t layer = range.baseArrayLayer; in ClearTexture()
[all …]

1234567