Searched defs:mipLevels (Results 1 - 19 of 19) sorted by relevance

/external/skia/src/gpu/vk/
H A DGrVkSampler.cpp26 uint32_t mipLevels) {
60 bool useMipMaps = GrSamplerParams::kMipMap_FilterMode == params.filterMode() && mipLevels > 1;
61 createInfo.maxLod = !useMipMaps ? 0.0f : (float)(mipLevels);
71 return new GrVkSampler(sampler, GenerateKey(params, mipLevels));
79 uint16_t GrVkSampler::GenerateKey(const GrSamplerParams& params, uint32_t mipLevels) { argument
92 SkASSERT(mipLevels < 1024);
93 key |= (mipLevels << kMipLevelShift);
25 Create(const GrVkGpu* gpu, const GrSamplerParams& params, uint32_t mipLevels) argument
H A DGrVkTexture.cpp176 bool GrVkTexture::reallocForMipmap(GrVkGpu* gpu, uint32_t mipLevels) { argument
177 if (mipLevels == 1) {
202 imageDesc.fLevels = mipLevels;
217 GrVkImageView::kColor_Type, mipLevels);
241 this->texturePriv().setMaxMipMapLevel(mipLevels);
H A DGrVkImage.h46 uint32_t mipLevels() const { return fInfo.fLevelCount; } function in class:GrVkImage
H A DGrVkResourceProvider.cpp169 uint32_t mipLevels) {
170 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, mipLevels));
172 sampler = GrVkSampler::Create(fGpu, params, mipLevels);
168 findOrCreateCompatibleSampler(const GrSamplerParams& params, uint32_t mipLevels) argument
H A DGrVkGpu.cpp787 int mipLevels = !mipLevelCount ? 1 : mipLevelCount; local
793 imageDesc.fLevels = mipLevels;
991 if (levelCount != tex->mipLevels()) {
1188 1, // mipLevels
/external/vulkan-validation-layers/layers/
H A Dimage.h51 uint32_t mipLevels; member in struct:IMAGE_STATE
60 : mipLevels(0), arraySize(0), format(VK_FORMAT_UNDEFINED), samples(VK_SAMPLE_COUNT_1_BIT),
63 : mipLevels(pCreateInfo->mipLevels), arraySize(pCreateInfo->arrayLayers), format(pCreateInfo->format),
H A Dcore_validation.cpp3654 if (sub_data->second.size() >= (image_state->createInfo.arrayLayers * image_state->createInfo.mipLevels + 1)) {
6469 range->levelCount = image_state->createInfo.mipLevels - range->baseMipLevel;
6489 *levels = image_state->createInfo.mipLevels - range.baseMipLevel;
8942 uint32_t arrayLayers = 0, mipLevels = 0; local
8947 mipLevels = image_data->createInfo.mipLevels;
8956 mipLevels = 1;
9010 if ((mem_barrier->subresourceRange.baseMipLevel + levelCount) > mipLevels) {
9016 mipLevels);
11417 image_ci.mipLevels
[all...]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleResolveTests.cpp139 deUint32 mipLevels,
157 mipLevels,
133 createImage(const DeviceInterface& vk, VkDevice device, VkImageCreateFlags flags, VkImageType imageType, VkFormat format, VkExtent3D extent, deUint32 mipLevels, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageTiling tiling, VkImageUsageFlags usage, VkSharingMode sharingMode, deUint32 queueFamilyCount, const deUint32* pQueueFamilyIndices, VkImageLayout initialLayout) argument
H A DvktRenderPassMultisampleTests.cpp154 deUint32 mipLevels,
172 mipLevels,
148 createImage(const DeviceInterface& vk, VkDevice device, VkImageCreateFlags flags, VkImageType imageType, VkFormat format, VkExtent3D extent, deUint32 mipLevels, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageTiling tiling, VkImageUsageFlags usage, VkSharingMode sharingMode, deUint32 queueFamilyCount, const deUint32* pQueueFamilyIndices, VkImageLayout initialLayout) argument
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageMemoryAliasing.cpp221 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent);
305 if (!(aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels)
323 if ((aspectRequirements.formatProperties.flags & VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT) && aspectRequirements.imageMipTailFirstLod < imageSparseInfo.mipLevels)
395 std::vector<VkBufferImageCopy> bufferImageCopy(imageSparseInfo.mipLevels);
399 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx)
409 const deUint32 imageSizeInBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSparseInfo.arrayLayers, m_format, imageSparseInfo.mipLevels, BUFFER_IMAGE_COPY_OFFSET_GRANULARITY);
416 for (deUint32 mipLevelNdx = 0u; mipLevelNdx < imageSparseInfo.mipLevels; ++mipLevelNdx)
451 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers)
467 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels, 0u, imageSparseInfo.arrayLayers)
481 makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, imageSparseInfo.mipLevels,
643 const deUint32 mipLevels = static_cast<deUint32>(deFloatLog2(static_cast<float>(widestEdge))) + 1u; local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp1025 deUint32 mipLevels,
1114 mipLevels, // deUint32 mipLevels;
1134 mipLevels, // deUint32 mipLevels;
1218 deUint32 mipLevels,
1258 mipLevels, // deUint32 mipLevels;
1278 mipLevels, // deUint32 mipLevels;
1022 uploadImage(const tcu::TextureFormat& texFormat, const TextureData& textureData, const tcu::Sampler& refSampler, deUint32 mipLevels, deUint32 arrayLayers, VkImage destImage) argument
1217 clearImage(const tcu::Sampler& refSampler, deUint32 mipLevels, deUint32 arrayLayers, VkImage destImage) argument
1396 uploadSparseImage(const tcu::TextureFormat& texFormat, const TextureData& textureData, const tcu::Sampler& refSampler, const deUint32 mipLevels, const deUint32 arrayLayers, const VkImage sparseImage, const VkImageCreateInfo& imageCreateInfo, const tcu::UVec3 texSize) argument
[all...]
H A DvktShaderRenderTextureFunctionTests.cpp1942 const int mipLevels = deLog2Floor32(getMaxTextureSize(m_textureSpec.type, m_testSize.textureSize)) + 1; local
1944 m_levels = mipLevels - m_testSize.lodBase;
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp212 deUint32 mipLevels; member in struct:vkt::synchronization::__anon4048::ImageParameters
247 imageCreateParams.mipLevels = imageParameters.mipLevels;
269 subresourceRange.levelCount = imageParameters.mipLevels;
453 deUint32 mipLevels; member in struct:vkt::synchronization::__anon4048::RenderInfo
500 renderBarrier.subresourceRange.levelCount = renderInfo.mipLevels;
721 imageParameters.mipLevels = 1;
930 renderInfo.mipLevels = 1;
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureTestUtil.cpp319 const deUint32 mipLevels = textureData->getNumLevels(); local
334 if (imageFormatProperties.maxMipLevels < mipLevels)
357 mipLevels, // deUint32 mipLevels;
372 updateTextureViewMipLevels(0, mipLevels - 1);
463 1u, // deUint32 mipLevels;
494 1u, // deUint32 mipLevels;
529 1u, // deUint32 mipLevels;
559 1u, // deUint32 mipLevels;
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_dx.h833 uint32 mipLevels; member in struct:__anon15327::__anon15328::__anon15330
/external/mesa3d/include/vulkan/
H A Dvulkan.h1645 uint32_t mipLevels; member in struct:VkImageCreateInfo
/external/skia/third_party/vulkan/vulkan/
H A Dvulkan.h1742 uint32_t mipLevels; member in struct:VkImageCreateInfo
/external/vulkan-validation-layers/include/vulkan/
H A Dvulkan.h1636 uint32_t mipLevels; member in struct:VkImageCreateInfo
H A Dvulkan.hpp12733 , mipLevels( mipLevels_ )
12794 mipLevels = mipLevels_;
12859 && ( mipLevels == rhs.mipLevels )
12884 uint32_t mipLevels; member in struct:vk::vk::ImageLayout::AttachmentLoadOp::AttachmentStoreOp::ImageType::ImageTiling::ImageViewType::CommandBufferLevel::ComponentSwizzle::DescriptorType::QueryType::BorderColor::PipelineBindPoint::PipelineCacheHeaderVersion::PrimitiveTopology::SharingMode::IndexType::Filter::SamplerMipmapMode::SamplerAddressMode::CompareOp::PolygonMode::CullModeFlagBits::FrontFace::BlendFactor::BlendOp::StencilOp::LogicOp::InternalAllocationType::SystemAllocationScope::PhysicalDeviceType::VertexInputRate::Format::StructureType::SubpassContents::SubpassContents::DynamicState::QueueFlagBits::MemoryPropertyFlagBits::MemoryHeapFlagBits::AccessFlagBits::BufferUsageFlagBits::BufferCreateFlagBits::ShaderStageFlagBits::ImageUsageFlagBits::ImageCreateFlagBits::PipelineCreateFlagBits::ColorComponentFlagBits::FenceCreateFlagBits::FormatFeatureFlagBits::QueryControlFlagBits::QueryResultFlagBits::CommandBufferUsageFlagBits::QueryPipelineStatisticFlagBits::ImageAspectFlagBits::SparseImageFormatFlagBits::SparseMemoryBindFlagBits::PipelineStageFlagBits::CommandPoolCreateFlagBits::CommandPoolResetFlagBits::CommandBufferResetFlagBits::SampleCountFlagBits::ImageCreateInfo

Completed in 552 milliseconds