Home
last modified time | relevance | path

Searched refs:mipLevel (Results 1 - 25 of 181) sorted by relevance

12345678

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilLoadOpTests.cpp81 for (uint32_t mipLevel = 0; mipLevel < kMipLevelCount; ++mipLevel) {
82 textureViewDesc.baseMipLevel = mipLevel;
83 textureViews[mipLevel] = texture.CreateView(&textureViewDesc);
85 utils::ComboRenderPassDescriptor renderPassDescriptor({}, textureViews[mipLevel]);
87 kDepthValues[mipLevel];
89 kStencilValues[mipLevel];
94 void CheckMipLevel(uint32_t mipLevel) { in CheckMipLevel() argument
95 uint32_t mipSize = std::max(kRTSize >> mipLevel, in CheckMipLevel()
[all...]
H A DDepthStencilCopyTests.cpp91 uint32_t mipLevel = 0) { in InitializeDepthTextureRegion()
93 viewDesc.baseMipLevel = mipLevel; in InitializeDepthTextureRegion()
122 uint32_t mipLevel = 0) { in InitializeDepthStencilTextureRegion()
124 viewDesc.baseMipLevel = mipLevel; in InitializeDepthStencilTextureRegion()
157 uint32_t mipLevel = 0) { in CreateInitializeDepthStencilTextureAndCopyT2T()
160 mipLevel + 1); in CreateInitializeDepthStencilTextureAndCopyT2T()
163 width, height, usage | wgpu::TextureUsage::CopyDst, mipLevel + 1); in CreateInitializeDepthStencilTextureAndCopyT2T()
166 regionStencil, mipLevel); in CreateInitializeDepthStencilTextureAndCopyT2T()
172 utils::CreateImageCopyTexture(src, mipLevel, {0, 0, 0}); in CreateInitializeDepthStencilTextureAndCopyT2T()
174 utils::CreateImageCopyTexture(dst, mipLevel, { in CreateInitializeDepthStencilTextureAndCopyT2T()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkImage.cpp244 for(uint32_t mipLevel = subresourceRange.baseMipLevel; mipLevel <= lastMipLevel; ++mipLevel) in getSizeInBytes()
246 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes()
256 for(uint32_t mipLevel = subresourceRange.baseMipLevel; mipLevel <= lastMipLevel; ++mipLevel) in getSizeInBytes()
258 size += getMultiSampledLevelSize(aspect, mipLevel); in getSizeInBytes()
351 pLayout->offset = getMemoryOffset(aspect, pSubresource->mipLevel, pSubresource->arrayLayer); in getSubresourceLayout()
352 pLayout->size = getMultiSampledLevelSize(aspect, pSubresource->mipLevel); in getSubresourceLayout()
933 getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) const getMemoryOffset() argument
[all...]
H A DVkImage.hpp89 VkExtent3D getMipLevelExtent(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
90 size_t rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
91 size_t slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
97 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
125 VkDeviceSize getMultiSampledLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
126 VkDeviceSize getLayerOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
127 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
128 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) const;
176 (subresource.mipLevel == other.subresource.mipLevel) in operator ==()
[all...]
H A DVkImageView.cpp324 int ImageView::rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in rowPitchBytes() argument
326 return getImage(usage)->rowPitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in rowPitchBytes()
329 int ImageView::slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in slicePitchBytes() argument
331 return getImage(usage)->slicePitchBytes(aspect, subresourceRange.baseMipLevel + mipLevel); in slicePitchBytes()
334 int ImageView::getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage) const in getMipLevelSize() argument
336 return getImage(usage)->getMipLevelSize(aspect, subresourceRange.baseMipLevel + mipLevel); in getMipLevelSize()
344 VkExtent2D ImageView::getMipLevelExtent(uint32_t mipLevel) const in getMipLevelExtent()
347 subresourceRange.baseMipLevel + mipLevel)); in getMipLevelExtent()
350 VkExtent2D ImageView::getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const in getMipLevelExtent() argument
352 return Extent2D(image->getMipLevelExtent(aspect, subresourceRange.baseMipLevel + mipLevel)); in getMipLevelExtent()
372 getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer, Usage usage) const getOffsetPointer() argument
[all...]
H A DVkImageView.hpp106 int rowPitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
107 int slicePitchBytes(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
108 int getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel, Usage usage = RAW) const;
110 VkExtent2D getMipLevelExtent(uint32_t mipLevel) const;
111 VkExtent2D getMipLevelExtent(uint32_t mipLevel, VkImageAspectFlagBits aspect) const;
112 int getDepthOrLayerCount(uint32_t mipLevel) const;
126 void *getOffsetPointer(const VkOffset3D &offset, VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer, Usage usage = RAW) const;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.hpp81 unsigned int mipLevel = 0,
91 unsigned int mipLevel = 0,
100 unsigned int mipLevel = 0,
111 unsigned int mipLevel = 0,
119 unsigned int mipLevel = 0,
129 unsigned int mipLevel,
142 unsigned int mipLevel,
151 unsigned int mipLevel,
162 unsigned int mipLevel = 0,
171 unsigned int mipLevel
[all...]
H A DvktDrawImageObjectUtil.cpp174 unsigned int mipLevel, in readSurface()
181 read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D, in readSurface()
186 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readSurface()
198 unsigned int mipLevel, in readDepth()
206 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readDepth()
218 unsigned int mipLevel, in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readVolume()
241 unsigned int mipLevel, in readSurface1D()
248 read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElemen in readSurface1D()
167 readSurface(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface() argument
191 readDepth(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readDepth() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
235 readSurface1D(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface1D() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
526 uploadVolume(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadVolume() argument
548 uploadSurface(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawImageObjectUtil.hpp81 unsigned int mipLevel = 0,
91 unsigned int mipLevel = 0,
100 unsigned int mipLevel = 0,
111 unsigned int mipLevel = 0,
119 unsigned int mipLevel = 0,
129 unsigned int mipLevel,
142 unsigned int mipLevel,
151 unsigned int mipLevel,
162 unsigned int mipLevel = 0,
171 unsigned int mipLevel
[all...]
H A DvktDrawImageObjectUtil.cpp174 unsigned int mipLevel, in readSurface()
181 read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D, in readSurface()
186 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readSurface()
198 unsigned int mipLevel, in readDepth()
206 readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readDepth()
218 unsigned int mipLevel, in readVolume()
225 read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in readVolume()
230 readUsingBuffer(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readVolume()
241 unsigned int mipLevel, in readSurface1D()
248 read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElemen in readSurface1D()
167 readSurface(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface() argument
191 readDepth(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readDepth() argument
210 readVolume(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readVolume() argument
235 readSurface1D(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurface1D() argument
259 read(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, void * data) read() argument
280 readUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readUsingBuffer() argument
414 readSurfaceLinear(vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) readSurfaceLinear() argument
427 readLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, void * data) readLinear() argument
526 uploadVolume(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadVolume() argument
548 uploadSurface(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
604 upload(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, vk::VkImageType type, const void * data) upload() argument
682 uploadUsingBuffer(vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadUsingBuffer() argument
776 uploadLinear(vk::VkOffset3D offset, int width, int height, int depth, unsigned int mipLevel, unsigned int arrayElement, vk::VkImageAspectFlagBits aspect, const void * data) uploadLinear() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DResourceManager11.cpp302 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in ClearResource()
306 dsvDesc.Texture2D.MipSlice = mipLevel; in ClearResource()
476 for (UINT mipLevel = 0; mipLevel < desc->MipLevels; ++mipLevel) in createInitDataIfNeeded()
480 UINT subresourceIndex = D3D11CalcSubresource(mipLevel, arrayIndex, desc->MipLevels); in createInitDataIfNeeded()
483 UINT levelWidth = std::max(desc->Width >> mipLevel, 1u); in createInitDataIfNeeded()
484 UINT levelHeight = std::max(desc->Height >> mipLevel, in createInitDataIfNeeded()
[all...]
H A DTextureStorage11.cpp186 int TextureStorage11::getLevelWidth(int mipLevel) const in getLevelWidth()
188 return std::max(static_cast<int>(mTextureWidth) >> mipLevel, 1); in getLevelWidth()
191 int TextureStorage11::getLevelHeight(int mipLevel) const in getLevelHeight()
193 return std::max(static_cast<int>(mTextureHeight) >> mipLevel, 1); in getLevelHeight()
196 int TextureStorage11::getLevelDepth(int mipLevel) const in getLevelDepth()
198 return std::max(static_cast<int>(mTextureDepth) >> mipLevel, 1); in getLevelDepth()
331 int mipLevel, in getSRVLevel()
335 ASSERT(mipLevel >= 0 && mipLevel < getLevelCount()); in getSRVLevel()
341 if (!levelSRVs[mipLevel] in getSRVLevel()
330 getSRVLevel(const gl::Context *context, int mipLevel, bool blitSRV, const d3d11::SharedSRV **outSRV) getSRVLevel() argument
495 markLevelDirty(int mipLevel) markLevelDirty() argument
1561 getSwizzleRenderTarget(const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
1800 getSwizzleRenderTarget( const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
2005 getSwizzleRenderTarget( const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
2742 getSwizzleRenderTarget(const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
3036 const int mipLevel = index.getLevelIndex(); findRenderTarget() local
3066 const int mipLevel = index.getLevelIndex(); getRenderTarget() local
3170 getSwizzleRenderTarget(const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
3433 const int mipLevel = index.getLevelIndex(); findRenderTarget() local
3479 const int mipLevel = index.getLevelIndex(); getRenderTarget() local
3580 getSwizzleRenderTarget( const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
3853 getSwizzleRenderTarget( const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
3973 const int mipLevel = index.getLevelIndex(); findRenderTarget() local
4019 const int mipLevel = index.getLevelIndex(); getRenderTarget() local
4120 getSwizzleRenderTarget( const gl::Context *context, int mipLevel, const d3d11::RenderTargetView **outRTV) getSwizzleRenderTarget() argument
[all...]
H A DTextureStorage11.h86 void markLevelDirty(int mipLevel);
151 int getLevelWidth(int mipLevel) const;
152 int getLevelHeight(int mipLevel) const;
153 int getLevelDepth(int mipLevel) const;
162 int mipLevel,
165 int mipLevel,
327 int mipLevel,
419 int mipLevel,
516 int mipLevel,
589 int mipLevel,
761 int mipLevel; global() member
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImage2DViewOf3DTests.cpp70 uint32_t mipLevel; member
78 inline int32_t computeMipLevelDimension (int32_t baseLevelDimension, uint32_t mipLevel) in computeMipLevelDimension() argument
80 return de::max(baseLevelDimension >> mipLevel, 1); in computeMipLevelDimension()
83 tcu::IVec3 computeMipLevelSize (tcu::IVec3 baseLevelSize, uint32_t mipLevel) in computeMipLevelSize() argument
85 int32_t width = computeMipLevelDimension(baseLevelSize.x(), mipLevel); in computeMipLevelSize()
86 int32_t height = computeMipLevelDimension(baseLevelSize.y(), mipLevel); in computeMipLevelSize()
87 int32_t depth = computeMipLevelDimension(baseLevelSize.z(), mipLevel); in computeMipLevelSize()
99 uint32_t mipLevel) in copyImageLayerToBuffer()
101 const VkImageSubresourceRange subresourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 1u, 0, 1u); in copyImageLayerToBuffer()
122 mipLevel, // deUint3 in copyImageLayerToBuffer()
91 copyImageLayerToBuffer(const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer, tcu::IVec2 size, VkAccessFlags srcAccessMask, VkImageLayout oldLayout, deUint32 layerToCopy, uint32_t mipLevel) copyImageLayerToBuffer() argument
789 mipLevel, // uint32_t mipLevel createImage2DViewOf3DTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImage2DViewOf3DTests.cpp68 uint32_t mipLevel; member
76 inline int32_t computeMipLevelDimension (int32_t baseLevelDimension, uint32_t mipLevel) in computeMipLevelDimension() argument
78 return de::max(baseLevelDimension >> mipLevel, 1); in computeMipLevelDimension()
81 tcu::IVec3 computeMipLevelSize (tcu::IVec3 baseLevelSize, uint32_t mipLevel) in computeMipLevelSize() argument
83 int32_t width = computeMipLevelDimension(baseLevelSize.x(), mipLevel); in computeMipLevelSize()
84 int32_t height = computeMipLevelDimension(baseLevelSize.y(), mipLevel); in computeMipLevelSize()
85 int32_t depth = computeMipLevelDimension(baseLevelSize.z(), mipLevel); in computeMipLevelSize()
97 uint32_t mipLevel) in copyImageLayerToBuffer()
99 const VkImageSubresourceRange subresourceRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, mipLevel, 1u, 0, 1u); in copyImageLayerToBuffer()
120 mipLevel, // deUint3 in copyImageLayerToBuffer()
89 copyImageLayerToBuffer(const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer, tcu::IVec2 size, VkAccessFlags srcAccessMask, VkImageLayout oldLayout, deUint32 layerToCopy, uint32_t mipLevel) copyImageLayerToBuffer() argument
787 mipLevel, // uint32_t mipLevel createImage2DViewOf3DTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp148 VkExtent3D getMipLevelExtent (VkExtent3D baseExtent, const deUint32 mipLevel) in getMipLevelExtent() argument
150 baseExtent.width = std::max(baseExtent.width >> mipLevel, 1u); in getMipLevelExtent()
151 baseExtent.height = std::max(baseExtent.height >> mipLevel, 1u); in getMipLevelExtent()
152 baseExtent.depth = std::max(baseExtent.depth >> mipLevel, 1u); in getMipLevelExtent()
187 for (deUint32 mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in getImageMipLevelSizes()
189 const VkExtent3D extent = getMipLevelExtent(baseExtent, mipLevel); in getImageMipLevelSizes()
190 results[mipLevel] = static_cast<deUint32>(extent.width * extent.height * extent.depth * pixelSize); in getImageMipLevelSizes()
191 results[mipLevel] in getImageMipLevelSizes()
230 isInInitialClearRange(deUint32 mipLevel, deUint32 arrayLayer, LayerRange imageViewLayerRange) isInInitialClearRange() argument
1605 deUint32 mipLevel = 0u; iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageClearingTests.cpp140 VkExtent3D getMipLevelExtent (VkExtent3D baseExtent, const deUint32 mipLevel) in getMipLevelExtent() argument
142 baseExtent.width = std::max(baseExtent.width >> mipLevel, 1u); in getMipLevelExtent()
143 baseExtent.height = std::max(baseExtent.height >> mipLevel, 1u); in getMipLevelExtent()
144 baseExtent.depth = std::max(baseExtent.depth >> mipLevel, 1u); in getMipLevelExtent()
179 for (deUint32 mipLevel = 0; mipLevel < numMipLevels; ++mipLevel) in getImageMipLevelSizes()
181 const VkExtent3D extent = getMipLevelExtent(baseExtent, mipLevel); in getImageMipLevelSizes()
182 results[mipLevel] = static_cast<deUint32>(extent.width * extent.height * extent.depth * pixelSize); in getImageMipLevelSizes()
183 results[mipLevel] in getImageMipLevelSizes()
222 isInInitialClearRange(deUint32 mipLevel, deUint32 arrayLayer, LayerRange imageViewLayerRange) isInInitialClearRange() argument
1473 deUint32 mipLevel = 0u; iterate() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_copy.c55 if (!radv_dcc_enabled(image, subres->mipLevel) && !(radv_image_is_tc_compat_htile(image))) in blit_surf_for_image_level_layer()
63 .level = subres->mipLevel, in blit_surf_for_image_level_layer()
138 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_buffer_to_image()
144 .baseMipLevel = region->imageSubresource.mipLevel, in copy_buffer_to_image()
287 radv_layout_dcc_compressed(cmd_buffer->device, image, region->imageSubresource.mipLevel, in copy_image_to_buffer()
293 .baseMipLevel = region->imageSubresource.mipLevel, in copy_image_to_buffer()
396 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
435 region->dstSubresource.mipLevel, in copy_image()
440 region->srcSubresource.mipLevel, in copy_image()
455 .baseMipLevel = region->dstSubresource.mipLevel, in copy_image()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DQueueGL.cpp64 textureCopy.mipLevel = destination.mipLevel; in WriteTextureImpl()
71 destination.mipLevel)) { in WriteTextureImpl()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp264 static bool validateTexture (tcu::TestLog& log, const tcu::Surface& rendered, const TextureType& texture, const vector<float> &texCoord, deUint32 mipLevel, in validateTexture() argument
267 const deUint32 textureWidth = texture.getWidth() >> mipLevel; in validateTexture()
268 const deUint32 textureHeight = texture.getHeight() >> mipLevel; in validateTexture()
371 const deUint32 mipLevel = m_testParameters.mipmaps ? 1 : 0; in iterate() local
383 sampleParams.minLod = (float)mipLevel; in iterate()
384 sampleParams.maxLod = (float)mipLevel; in iterate()
436 const bool isOk = validateTexture(log, rendered, texture.getTexture(), texCoord, mipLevel, pixelFormat, threshold, coordThreshold, sampleParams); in iterate()
502 const deUint32 mipLevel = m_testParameters.mipmaps ? 1 : 0; in iterate() local
514 sampleParams.minLod = (float)mipLevel; in iterate()
515 sampleParams.maxLod = (float)mipLevel; in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp264 static bool validateTexture (tcu::TestLog& log, const tcu::Surface& rendered, const TextureType& texture, const vector<float> &texCoord, deUint32 mipLevel, in validateTexture() argument
267 const deUint32 textureWidth = texture.getWidth() >> mipLevel; in validateTexture()
268 const deUint32 textureHeight = texture.getHeight() >> mipLevel; in validateTexture()
371 const deUint32 mipLevel = m_testParameters.mipmaps ? 1 : 0; in iterate() local
383 sampleParams.minLod = (float)mipLevel; in iterate()
384 sampleParams.maxLod = (float)mipLevel; in iterate()
436 const bool isOk = validateTexture(log, rendered, texture.getTexture(), texCoord, mipLevel, pixelFormat, threshold, coordThreshold, sampleParams); in iterate()
502 const deUint32 mipLevel = m_testParameters.mipmaps ? 1 : 0; in iterate() local
514 sampleParams.minLod = (float)mipLevel; in iterate()
515 sampleParams.maxLod = (float)mipLevel; in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTexture.hpp42 tcu::IVec3 layerSize (const int mipLevel = 0) const; //!< Size of a single layer for mipmap level 0
46 tcu::IVec3 size (const int mipLevel = 0) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture) for mipmap level 0
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTexture.hpp42 tcu::IVec3 layerSize (const int mipLevel = 0) const; //!< Size of a single layer for mipmap level 0
46 tcu::IVec3 size (const int mipLevel = 0) const; //!< Size including number of layers in additional dimension (e.g. z in 2d texture) for mipmap level 0
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesShaderIntrinsicsStorage.hpp54 const std::string& mipLevel) const = 0;
78 const std::string& mipLevel) const;
102 const std::string& mipLevel) const;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesShaderIntrinsicsStorage.hpp54 const std::string& mipLevel) const = 0;
78 const std::string& mipLevel) const;
102 const std::string& mipLevel) const;

Completed in 22 milliseconds

12345678