Home
last modified time | relevance | path

Searched refs:baseMipLevel (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImageView.cpp75 range.baseMipLevel, in ResolveRemainingLevelsLayers()
76 …(range.levelCount == VK_REMAINING_MIP_LEVELS) ? (image->getMipLevels() - range.baseMipLevel) : ran… in ResolveRemainingLevelsLayers()
203 sr.baseMipLevel = subresourceRange.baseMipLevel; in clear()
235 subresourceRange.baseMipLevel, in resolve()
242 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
248 subresourceRange.baseMipLevel); in resolve()
265 subresourceRange.baseMipLevel, in resolve()
272 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
278 subresourceRange.baseMipLevel); in resolve()
326 return getImage(usage)->rowPitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in rowPitchBytes()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DSubresourceRenderAttachmentTests.cpp33 uint32_t baseMipLevel) { in DoSingleTest() argument
37 renderTargetViewDesc.baseMipLevel = baseMipLevel; in DoSingleTest()
78 const uint32_t renderTargetSize = textureSize >> baseMipLevel; in DoSingleTest()
83 {renderTargetSize, renderTargetSize}, baseMipLevel); in DoSingleTest()
89 {renderTargetSize, renderTargetSize}, baseMipLevel); in DoSingleTest()
95 {renderTargetSize, renderTargetSize}, baseMipLevel, in DoSingleTest()
DTextureSubresourceTests.cpp39 uint32_t baseMipLevel, in CreateTextureView() argument
45 viewDesc.baseMipLevel = baseMipLevel; in CreateTextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSubresource.cpp102 baseMipLevel(mipLevelParams.first), in SubresourceRange()
107 : aspects(Aspect::None), baseArrayLayer(0), layerCount(0), baseMipLevel(0), levelCount(0) { in SubresourceRange()
111 SubresourceRange SubresourceRange::SingleMipAndLayer(uint32_t baseMipLevel, in SingleMipAndLayer() argument
114 return {aspects, {baseArrayLayer, 1}, {baseMipLevel, 1}}; in SingleMipAndLayer()
120 uint32_t baseMipLevel) { in MakeSingle() argument
122 return {aspect, {baseArrayLayer, 1}, {baseMipLevel, 1}}; in MakeSingle()
DSubresource.h80 uint32_t baseMipLevel;
83 static SubresourceRange SingleMipAndLayer(uint32_t baseMipLevel,
88 uint32_t baseMipLevel);
DTexture.cpp365 uint64_t(descriptor->baseMipLevel) + uint64_t(descriptor->mipLevelCount) > in ValidateTextureViewDescriptor()
369 descriptor->baseMipLevel, descriptor->mipLevelCount, texture->GetNumMipLevels()); in ValidateTextureViewDescriptor()
431 desc.mipLevelCount = texture->GetNumMipLevels() - desc.baseMipLevel; in GetTextureViewDescriptorWithDefaults()
578 for (uint32_t mipLevel = range.baseMipLevel; in IsSubresourceContentInitialized()
579 mipLevel < range.baseMipLevel + range.levelCount; ++mipLevel) { in IsSubresourceContentInitialized()
597 for (uint32_t mipLevel = range.baseMipLevel; in SetIsSubresourceContentInitialized()
598 mipLevel < range.baseMipLevel + range.levelCount; ++mipLevel) { in SetIsSubresourceContentInitialized()
700 {descriptor->baseMipLevel, descriptor->mipLevelCount}}) { in TextureViewBase()
754 return mRange.baseMipLevel; in GetBaseMipLevel()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_fast_clear.c484 width = radv_minify(image->info.width, range->baseMipLevel + level); in radv_process_color_image_layer()
485 height = radv_minify(image->info.height, range->baseMipLevel + level); in radv_process_color_image_layer()
496 .baseMipLevel = range->baseMipLevel + level, in radv_process_color_image_layer()
574 if (radv_dcc_enabled(image, subresourceRange->baseMipLevel) && in radv_process_color_image()
597 pred_offset += 8 * subresourceRange->baseMipLevel; in radv_process_color_image()
612 if (op == DCC_DECOMPRESS && !radv_dcc_enabled(image, subresourceRange->baseMipLevel + l)) in radv_process_color_image()
615 width = radv_minify(image->info.width, subresourceRange->baseMipLevel + l); in radv_process_color_image()
616 height = radv_minify(image->info.height, subresourceRange->baseMipLevel + l); in radv_process_color_image()
641 pred_offset += 8 * subresourceRange->baseMipLevel; in radv_process_color_image()
743 if (!radv_dcc_enabled(image, subresourceRange->baseMipLevel + l)) in radv_decompress_dcc_compute()
[all …]
Dradv_meta_decompress.c406 width = radv_minify(image->info.width, range->baseMipLevel + level); in radv_process_depth_image_layer()
407 height = radv_minify(image->info.height, range->baseMipLevel + level); in radv_process_depth_image_layer()
418 .baseMipLevel = range->baseMipLevel + level, in radv_process_depth_image_layer()
499 if (!radv_htile_enabled(image, subresourceRange->baseMipLevel + l)) in radv_process_depth_stencil()
502 uint32_t width = radv_minify(image->info.width, subresourceRange->baseMipLevel + l); in radv_process_depth_stencil()
503 uint32_t height = radv_minify(image->info.height, subresourceRange->baseMipLevel + l); in radv_process_depth_stencil()
551 if (!radv_htile_enabled(image, subresourceRange->baseMipLevel + l)) in radv_expand_depth_stencil_compute()
554 width = radv_minify(image->info.width, subresourceRange->baseMipLevel + l); in radv_expand_depth_stencil_compute()
555 height = radv_minify(image->info.height, subresourceRange->baseMipLevel + l); in radv_expand_depth_stencil_compute()
566 .baseMipLevel = subresourceRange->baseMipLevel + l, in radv_expand_depth_stencil_compute()
[all …]
Dradv_meta_clear.c883 .baseMipLevel = iview->vk.base_mip_level, in radv_fast_clear_depth()
1288 assert(range->baseMipLevel == 0 && radv_get_levelCount(image, range) == 1); in radv_clear_fmask()
1310 uint32_t level = range->baseMipLevel + l; in radv_clear_dcc()
1396 if (!radv_dcc_enabled(image, range->baseMipLevel + l)) in radv_clear_dcc_comp_to_single()
1399 width = radv_minify(image->info.width, range->baseMipLevel + l); in radv_clear_dcc_comp_to_single()
1400 height = radv_minify(image->info.height, range->baseMipLevel + l); in radv_clear_dcc_comp_to_single()
1410 .baseMipLevel = range->baseMipLevel + l, in radv_clear_dcc_comp_to_single()
1477 uint32_t level = range->baseMipLevel + l; in radv_clear_htile()
1795 .baseMipLevel = iview->vk.base_mip_level, in radv_fast_clear_color()
2059 uint32_t width = radv_minify(image->info.width, range->baseMipLevel + level); in radv_clear_image_layer()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DTextureViewValidationTests.cpp71 descriptor.baseMipLevel = 0; in CreateDefaultViewDescriptor()
135 descriptor.baseMipLevel = 0; in TEST_F()
137 descriptor.baseMipLevel = 1; in TEST_F()
139 descriptor.baseMipLevel = kDefaultMipLevels - 1; in TEST_F()
141 descriptor.baseMipLevel = kDefaultMipLevels; in TEST_F()
148 descriptor.baseMipLevel = 0; in TEST_F()
151 descriptor.baseMipLevel = 1; in TEST_F()
154 descriptor.baseMipLevel = kDefaultMipLevels - 1; in TEST_F()
157 descriptor.baseMipLevel = kDefaultMipLevels; in TEST_F()
297 descriptor.baseMipLevel = 0; in TEST_F()
[all …]
DTextureSubresourceTests.cpp40 uint32_t baseMipLevel, in CreateTextureView() argument
46 viewDesc.baseMipLevel = baseMipLevel; in CreateTextureView()
DRenderPassDescriptorValidationTests.cpp228 descriptor.baseMipLevel = 0; in TEST_F()
280 baseDescriptor.baseMipLevel = 0; in TEST_F()
399 baseDescriptor.baseMipLevel = 0; in TEST_F()
428 descriptor.baseMipLevel = 0; in TEST_F()
440 descriptor.baseMipLevel = 0; in TEST_F()
452 descriptor.baseMipLevel = kLevelCount - 1; in TEST_F()
464 descriptor.baseMipLevel = kLevelCount - 1; in TEST_F()
656 firstMipLevelDescriptor.baseMipLevel = 0; in TEST_F()
668 secondMipLevelDescriptor.baseMipLevel = 1; in TEST_F()
910 viewDesc.baseMipLevel = 0; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp264 for (uint32_t level = range.baseMipLevel; in ClearTexture()
265 level < range.baseMipLevel + range.levelCount; ++level) { in ClearTexture()
352 for (uint32_t level = range.baseMipLevel; in ClearTexture()
353 level < range.baseMipLevel + range.levelCount; ++level) { in ClearTexture()
454 Extent3D largestMipSize = GetMipLevelPhysicalSize(range.baseMipLevel); in ClearTexture()
485 for (uint32_t level = range.baseMipLevel; level < range.baseMipLevel + range.levelCount; in ClearTexture()
555 descriptor->baseMipLevel, descriptor->mipLevelCount, in TextureView()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/reflow-tests/
Dexpect-vuid-repeat-default.adoc29 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
30 The slink:VkImageSubresourceRange::pname:baseMipLevel members of the
37 [eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or
Dexpect-vuid-repeat-novuid.adoc29 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
30 The slink:VkImageSubresourceRange::pname:baseMipLevel members of the
37 [eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or
Dsrc-vuid-repeat.adoc27 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
28 …The slink:VkImageSubresourceRange::pname:baseMipLevel members of the elements of the pname:pRanges…
32 …[eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or equal to the pname:mipLevel…
Dexpect-vuid-repeat-noreflow.adoc27 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
28 …The slink:VkImageSubresourceRange::pname:baseMipLevel members of the elements of the pname:pRanges…
32 …[eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or equal to the pname:mipLevel…
Dexpect-vuid-repeat-noreflow-novuid.adoc27 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
28 …The slink:VkImageSubresourceRange::pname:baseMipLevel members of the elements of the pname:pRanges…
32 …[eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or equal to the pname:mipLevel…
Dsrc-new-vuid.adoc43 * [[VUID-vkCmdClearColorImage-baseMipLevel-01470]]
44 The slink:VkImageSubresourceRange::pname:baseMipLevel members of the
50 [eq]#pname:baseMipLevel {plus} pname:levelCount# must: be less than or
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUTexture.cpp40 if (!conv(desc.baseMipLevel, descriptor.baseMipLevel) || // in createView()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSubresourceStorageTests.cpp43 for (uint32_t level = range.baseMipLevel; in Update()
44 level < range.baseMipLevel + range.levelCount; level++) { in Update()
138 EXPECT_LT(range.baseMipLevel, mMipLevelCount); in CheckSameAs()
139 EXPECT_LE(range.baseMipLevel + range.levelCount, mMipLevelCount); in CheckSameAs()
144 for (uint32_t level = range.baseMipLevel; in CheckSameAs()
145 level < range.baseMipLevel + range.levelCount; level++) { in CheckSameAs()
170 range.baseMipLevel == 0) { in CheckAspectCompressed()
199 range.baseArrayLayer == layer && range.baseMipLevel == 0) { in CheckLayerCompressed()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.cpp826 bool isFullRange = range.baseArrayLayer == 0 && range.baseMipLevel == 0 && in TransitionSubresourceRange()
840 GetSubresourceIndex(range.baseMipLevel + mipLevel, in TransitionSubresourceRange()
1003 for (uint32_t level = range.baseMipLevel; level < range.baseMipLevel + range.levelCount; in ClearTexture()
1054 for (uint32_t level = range.baseMipLevel; level < range.baseMipLevel + range.levelCount; in ClearTexture()
1091 Extent3D largestMipSize = GetMipLevelPhysicalSize(range.baseMipLevel); in ClearTexture()
1105 for (uint32_t level = range.baseMipLevel; in ClearTexture()
1106 level < range.baseMipLevel + range.levelCount; ++level) { in ClearTexture()
1264 mSrvDesc.Texture2DArray.MostDetailedMip = descriptor->baseMipLevel; in TextureView()
1275 mSrvDesc.TextureCubeArray.MostDetailedMip = descriptor->baseMipLevel; in TextureView()
1282 mSrvDesc.Texture3D.MostDetailedMip = descriptor->baseMipLevel; in TextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.cpp180 barrier.subresourceRange.baseMipLevel = range.baseMipLevel; in BuildMemoryBarrier()
779 barrier.subresourceRange.baseMipLevel = 0; in ExportExternalTexture()
1151 Extent3D largestMipSize = GetMipLevelPhysicalSize(range.baseMipLevel); in ClearTexture()
1166 for (uint32_t level = range.baseMipLevel; level < range.baseMipLevel + range.levelCount; in ClearTexture()
1169 imageRange.baseMipLevel = level; in ClearTexture()
1198 for (uint32_t level = range.baseMipLevel; level < range.baseMipLevel + range.levelCount; in ClearTexture()
1200 imageRange.baseMipLevel = level; in ClearTexture()
1322 createInfo.subresourceRange.baseMipLevel = subresources.baseMipLevel; in Initialize()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c202 args.base_miplevel = range->baseMipLevel; in tu_image_view_init()
248 fdl_surface_offset(layout, range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
249 iview->depth_layer_size = fdl_layer_stride(layout, range->baseMipLevel); in tu_image_view_init()
250 iview->depth_PITCH = A6XX_RB_DEPTH_BUFFER_PITCH(fdl_pitch(layout, range->baseMipLevel)).value; in tu_image_view_init()
254 fdl_surface_offset(layout, range->baseMipLevel, range->baseArrayLayer); in tu_image_view_init()
255 iview->stencil_layer_size = fdl_layer_stride(layout, range->baseMipLevel); in tu_image_view_init()
256 … iview->stencil_PITCH = A6XX_RB_STENCIL_BUFFER_PITCH(fdl_pitch(layout, range->baseMipLevel)).value; in tu_image_view_init()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c330 return subres->baseMipLevel + level + in dzn_image_range_get_subresource_index()
418 dsv_desc.Texture1D.MipSlice = range->baseMipLevel + level; in dzn_image_get_dsv_desc()
421 dsv_desc.Texture1DArray.MipSlice = range->baseMipLevel + level; in dzn_image_get_dsv_desc()
426 dsv_desc.Texture2D.MipSlice = range->baseMipLevel + level; in dzn_image_get_dsv_desc()
431 dsv_desc.Texture2DArray.MipSlice = range->baseMipLevel + level; in dzn_image_get_dsv_desc()
486 rtv_desc.Texture1D.MipSlice = range->baseMipLevel + level; in dzn_image_get_rtv_desc()
489 rtv_desc.Texture1DArray.MipSlice = range->baseMipLevel + level; in dzn_image_get_rtv_desc()
494 rtv_desc.Texture2D.MipSlice = range->baseMipLevel + level; in dzn_image_get_rtv_desc()
505 rtv_desc.Texture2DArray.MipSlice = range->baseMipLevel + level; in dzn_image_get_rtv_desc()
520 rtv_desc.Texture3D.MipSlice = range->baseMipLevel + level; in dzn_image_get_rtv_desc()
[all …]

123456