Home
last modified time | relevance | path

Searched refs:mipLevels (Results 1 – 25 of 117) sorted by relevance

12345

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderTarget11.cpp25 bool GetTextureProperties(ID3D11Resource *resource, unsigned int *mipLevels, unsigned int *samples) in GetTextureProperties() argument
34 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
47 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
60 *mipLevels = texDesc.MipLevels; in GetTextureProperties()
124 unsigned int mipLevels, samples; in GetRTVSubresourceIndex() local
125 GetTextureProperties(resource, &mipLevels, &samples); in GetRTVSubresourceIndex()
127 return D3D11CalcSubresource(mipSlice, arraySlice, mipLevels); in GetRTVSubresourceIndex()
179 unsigned int mipLevels, samples; in GetDSVSubresourceIndex() local
180 GetTextureProperties(resource, &mipLevels, &samples); in GetDSVSubresourceIndex()
182 return D3D11CalcSubresource(mipSlice, arraySlice, mipLevels); in GetDSVSubresourceIndex()
DTextureStorage11.cpp36 : baseLevel(0), mipLevels(0), swizzle(false), dropStencil(false) in SamplerKey()
40 int mipLevels, in SamplerKey() argument
43 : baseLevel(baseLevel), mipLevels(mipLevels), swizzle(swizzle), dropStencil(dropStencil) in SamplerKey()
48 return std::tie(baseLevel, mipLevels, swizzle, dropStencil) < in operator <()
49 std::tie(rhs.baseLevel, rhs.mipLevels, rhs.swizzle, rhs.dropStencil); in operator <()
227 unsigned int mipLevels = in getSRVForSampler() local
232 mipLevels = std::min(mipLevels, mMipLevels - mTopLevel - effectiveBaseLevel); in getSRVForSampler()
237 ASSERT(mipLevels == 1 || mipLevels == mMipLevels); in getSRVForSampler()
243 ANGLE_TRY(useLevelZeroWorkaroundTexture(context, mipLevels == 1)); in getSRVForSampler()
258 const int effectiveTopLevel = effectiveBaseLevel + mipLevels - 1; in getSRVForSampler()
[all …]
DTextureStorage11.h179 int mipLevels,
228 SamplerKey(int baseLevel, int mipLevels, bool swizzle, bool dropStencil);
233 int mipLevels; member
319 angle::Result ensureTextureExists(const gl::Context *context, int mipLevels);
326 int mipLevels,
405 int mipLevels,
499 int mipLevels,
562 angle::Result ensureTextureExists(const gl::Context *context, int mipLevels);
569 int mipLevels,
644 int mipLevels,
[all …]
DStreamProducerD3DTexture.cpp38 out->mipLevels = 0; in GetGLDescFromTex()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp257 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
342 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
360 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
438 std::vector<std::vector<deUint32>> planeOffsets( imageSparseInfo.mipLevels ); in iterate()
439 std::vector<std::vector<deUint32>> planeRowPitches( imageSparseInfo.mipLevels ); in iterate()
441 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
449 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
459 …ector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate()
467 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
469 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.cpp374 pipelines.resize(imageSparseInfo.mipLevels); in recordCommands()
375 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands()
376 imageSparseViews.resize(imageSparseInfo.mipLevels); in recordCommands()
377 imageTexelsViews.resize(imageSparseInfo.mipLevels); in recordCommands()
378 imageResidencyViews.resize(imageSparseInfo.mipLevels); in recordCommands()
395 descriptorPoolBuilder.addType(imageSparseDescType(), imageSparseInfo.mipLevels); in recordCommands()
396 descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, imageSparseInfo.mipLevels); in recordCommands()
397 descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, imageSparseInfo.mipLevels); in recordCommands()
399 …erface, getDevice(), VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, imageSparseInfo.mipLevels); in recordCommands()
401 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands()
[all …]
DvktSparseResourcesShaderIntrinsicsBase.cpp456 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
486 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
568 if (aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
669 imageTexelsInfo.mipLevels = imageSparseInfo.mipLevels; in iterate()
693 …<VkBufferImageCopy> bufferImageSparseCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate()
701 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
703 bufferImageSparseCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
734 for (deUint32 mipmapNdx = 0u; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
777 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
797 …extent, imageSparseInfo.arrayLayers, m_residencyFormat, imageSparseInfo.mipLevels, BUFFER_IMAGE_CO… in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsSampled.cpp650 …descriptorPoolBuilder.addType(VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, imageSparseInfo.mipLevels in recordCommands()
652 …erface, getDevice(), VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, imageSparseInfo.mipLevels); in recordCommands()
725 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands()
762 imageSparseViews.resize(imageSparseInfo.mipLevels); in recordCommands()
763 imageTexelsViews.resize(imageSparseInfo.mipLevels); in recordCommands()
764 imageResidencyViews.resize(imageSparseInfo.mipLevels); in recordCommands()
765 m_framebuffers.resize(imageSparseInfo.mipLevels); in recordCommands()
766 descriptorSets.resize(imageSparseInfo.mipLevels); in recordCommands()
772 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx) in recordCommands()
857 …akeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparse… in recordCommands()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp204 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
284 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
313 …_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels) in iterate()
395 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
398 …:vector <VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes*imageSparseInfo.mipLevels); in iterate()
406 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
408 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
472 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
496 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
541 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
[all …]
DvktSparseResourcesImageSparseBinding.cpp199 …imageSparseInfo.mipLevels = getMipmapCount(m_format, formatDescription, imageFormatProperties, ima… in iterate()
281 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
284 …vector<VkBufferImageCopy> bufferImageCopy(formatDescription.numPlanes * imageSparseInfo.mipLevels); in iterate()
291 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
293 bufferImageCopy[planeNdx*imageSparseInfo.mipLevels + mipmapNdx] = in iterate()
351 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers), in iterate()
374 … makeImageSubresourceRange(aspect, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers) in iterate()
419 for (deUint32 mipmapNdx = 0; mipmapNdx < imageSparseInfo.mipLevels; ++mipmapNdx) in iterate()
422 …t = static_cast<deUint32>(bufferImageCopy[ planeNdx * imageSparseInfo.mipLevels + mipmapNdx].buf… in iterate()
/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp28 SkBudgeted budgeted, int mipLevels, in Make() argument
46 textureDesc.mipLevelCount = std::max(mipLevels, 1); in Make()
64 info.fLevelCount = mipLevels; in Make()
132 int mipLevels, wgpu::CommandEncoder copyEncoder) { in upload() argument
133 this->upload(srcColorType, texels, mipLevels, SkIRect::MakeWH(width(), height()), in upload()
138 int mipLevels, const SkIRect& rect, in upload() argument
147 for (int i = 0; i < mipLevels; i++) { in upload()
DGrDawnTexture.h20 SkBudgeted, int mipLevels, GrMipMapsStatus);
34 void upload(GrColorType, const GrMipLevel texels[], int mipLevels,
36 void upload(GrColorType, const GrMipLevel texels[], int mipLevels,
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp957 deUint32 mipLevels, in uploadImage() argument
1055 …ueueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, mipLevels, arrayLayers, de… in uploadImage()
1059 deUint32 mipLevels, in clearImage() argument
1095 mipLevels, // deUint32 mipLevels; in clearImage()
1115 mipLevels, // deUint32 mipLevels; in clearImage()
1125 mipLevels, // deUint32 levelCount; in clearImage()
1219 const deUint32 mipLevels, in uploadSparseImage() argument
1324 …fer, bufferSize, copyRegions, &(*imageMemoryBindSemaphore), aspectMask, mipLevels, arrayLayers, sp… in uploadSparseImage()
1336 deUint32 mipLevels = 1u; in useSampler() local
1348 mipLevels = isMSTexture ? 1u : (deUint32)texture.getNumLevels(); in useSampler()
[all …]
DvktShaderRender.hpp549 deUint32 mipLevels,
554 deUint32 mipLevels,
563 const deUint32 mipLevels,
576 deUint32 mipLevels,
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp945 int mipLevels = !mipLevelCount ? 1 : mipLevelCount; in onCreateTexture() local
951 imageDesc.fLevels = mipLevels; in onCreateTexture()
958 if (mipLevels > 1) { in onCreateTexture()
960 for (int i = 0; i < mipLevels; ++i) { in onCreateTexture()
1223 SkASSERT(levelCount == vkTex->mipLevels()); in onRegenerateMipMapLevels()
1382 uint32_t mipLevels = 1; in createTestingOnlyVkImage() local
1384 mipLevels = SkMipMap::ComputeLevelCount(w, h) + 1; in createTestingOnlyVkImage()
1394 mipLevels, // mipLevels in createTestingOnlyVkImage()
1452 SkTArray<size_t> individualMipOffsets(mipLevels); in createTestingOnlyVkImage()
1466 for (uint32_t currentMipLevel = 1; currentMipLevel < mipLevels; currentMipLevel++) { in createTestingOnlyVkImage()
[all …]
/external/swiftshader/src/Vulkan/
DVkImage.hpp71 uint32_t getMipLevels() const { return mipLevels; } in getMipLevels()
125 uint32_t mipLevels = 0; member in vk::Image
DVkDescriptorSetLayout.hpp47 int mipLevels; member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp72 imageMSInfo.mipLevels = 1u; in iterate()
169 … = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageMSInfo.mipLevels, 0u, imageMSInfo… in iterate()
345 …mageSizeInBytes(imageRSInfo.extent, imageRSInfo.arrayLayers, m_imageFormat, imageRSInfo.mipLevels); in iterate()
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp293 image_create_info.mipLevels = 1; in TEST_F()
346 image_create_info.mipLevels = 1; in TEST_F()
400 image_create_info.mipLevels = 1; in TEST_F()
626 image_create_info.mipLevels = 1; in TEST_F()
814 depth_image_create_info.mipLevels = 1; in TEST_F()
894 image_create_info.mipLevels = 1; in TEST_F()
962 image_create_info.mipLevels = 1; in TEST_F()
1316 image_create_info.mipLevels = 1; in TEST_F()
1420 image_create_info.mipLevels = 1; in TEST_F()
1698 ci.mipLevels = 1; in TEST_F()
[all …]
Dvklayertests_command.cpp1209 image_create_info.mipLevels = 1; in TEST_F()
1276 ci.mipLevels = 6; in TEST_F()
1643 region.imageSubresource.mipLevel = image_16k.create_info().mipLevels + 1; in TEST_F()
2032 ci.mipLevels = 1; in TEST_F()
2216 ci.mipLevels = 1; in TEST_F()
2314 ci.mipLevels = 1; in TEST_F()
2469 ci.mipLevels = 1; in TEST_F()
2583 ci.mipLevels = 1; in TEST_F()
2693 ci.mipLevels = 6; in TEST_F()
2709 ci.mipLevels = 7; in TEST_F()
[all …]
/external/skia/src/gpu/mtl/
DGrMtlTexture.h41 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
/external/skqp/src/gpu/mtl/
DGrMtlTexture.h37 bool reallocForMipmap(GrMtlGpu* gpu, uint32_t mipLevels);
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp208 deUint32 mipLevels; member
243 imageCreateParams.mipLevels = imageParameters.mipLevels; in createVulkanImage()
265 subresourceRange.levelCount = imageParameters.mipLevels; in createVulkanImage()
449 deUint32 mipLevels; member
483 renderBarrier.subresourceRange.levelCount = renderInfo.mipLevels; in recordRenderPass()
704 imageParameters.mipLevels = 1; in generateWork()
913 renderInfo.mipLevels = 1; in generateWork()
/external/angle/src/libANGLE/
DStream.h67 unsigned int mipLevels; member
/external/mesa3d/src/intel/vulkan/
Danv_intel.c61 .mipLevels = 1, in anv_CreateDmaBufImageINTEL()

12345