/external/skia/src/gpu/vk/ |
H A D | GrVkSampler.cpp | 26 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 D | GrVkTexture.cpp | 176 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 D | GrVkImage.h | 46 uint32_t mipLevels() const { return fInfo.fLevelCount; } function in class:GrVkImage
|
H A D | GrVkResourceProvider.cpp | 169 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 D | GrVkGpu.cpp | 787 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 D | image.h | 51 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 D | core_validation.cpp | 3654 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 D | vktRenderPassMultisampleResolveTests.cpp | 139 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 D | vktRenderPassMultisampleTests.cpp | 154 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 D | vktSparseResourcesImageMemoryAliasing.cpp | 221 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 D | vktShaderRender.cpp | 1025 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 D | vktShaderRenderTextureFunctionTests.cpp | 1942 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 D | vktSynchronizationSmokeTests.cpp | 212 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 D | vktTextureTestUtil.cpp | 319 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 D | svga3d_dx.h | 833 uint32 mipLevels; member in struct:__anon15327::__anon15328::__anon15330
|
/external/mesa3d/include/vulkan/ |
H A D | vulkan.h | 1645 uint32_t mipLevels; member in struct:VkImageCreateInfo
|
/external/skia/third_party/vulkan/vulkan/ |
H A D | vulkan.h | 1742 uint32_t mipLevels; member in struct:VkImageCreateInfo
|
/external/vulkan-validation-layers/include/vulkan/ |
H A D | vulkan.h | 1636 uint32_t mipLevels; member in struct:VkImageCreateInfo
|
H A D | vulkan.hpp | 12733 , 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
|