Home
last modified time | relevance | path

Searched refs:VkDeviceSize (Results 1 – 25 of 943) sorted by relevance

12345678910>>...38

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp309 Move<VkImage> makeImage (const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 qu… in makeImage()
324 const VkDeviceSize sizeInPixels = (size + 3u) / pixelSize; in makeImage()
361 Move<VkBuffer> makeBuffer(const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 q… in makeBuffer()
431 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory()
443 VkDeviceSize findLargeAllocationSize (const DeviceInterface& vk, VkDevice device, VkDeviceSize max,… in findLargeAllocationSize()
448 for (VkDeviceSize size = max; size > 0; size >>= 1) in findLargeAllocationSize()
471 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory()
496 MemoryRange (VkDeviceSize offset_ = ~(VkDeviceSize)0, VkDeviceSize size_ = ~(VkDeviceSize)0) in MemoryRange()
502 VkDeviceSize offset;
503 VkDeviceSize size;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryMappingTests.cpp309 Move<VkImage> makeImage (const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 qu… in makeImage()
324 const VkDeviceSize sizeInPixels = (size + 3u) / pixelSize; in makeImage()
361 Move<VkBuffer> makeBuffer(const DeviceInterface& vk, VkDevice device, VkDeviceSize size, deUint32 q… in makeBuffer()
431 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory()
443 VkDeviceSize findLargeAllocationSize (const DeviceInterface& vk, VkDevice device, VkDeviceSize max,… in findLargeAllocationSize()
448 for (VkDeviceSize size = max; size > 0; size >>= 1) in findLargeAllocationSize()
471 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory()
496 MemoryRange (VkDeviceSize offset_ = ~(VkDeviceSize)0, VkDeviceSize size_ = ~(VkDeviceSize)0) in MemoryRange()
502 VkDeviceSize offset;
503 VkDeviceSize size;
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkBuffer.hpp33 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset);
34 void copyFrom(const void *srcMemory, VkDeviceSize size, VkDeviceSize offset);
35 void copyTo(void *dstMemory, VkDeviceSize size, VkDeviceSize offset) const;
37 void fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data);
38 void update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData);
39 void *getOffsetPointer(VkDeviceSize offset) const;
40 inline VkDeviceSize getSize() const { return size; } in getSize()
50 VkDeviceSize size = 0;
DVkBuffer.cpp70 memoryRequirements.size = std::numeric_limits<VkDeviceSize>::max(); in getMemoryRequirements()
100 void Buffer::bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset) in bind()
105 void Buffer::copyFrom(const void *srcMemory, VkDeviceSize pSize, VkDeviceSize pOffset) in copyFrom()
112 void Buffer::copyTo(void *dstMemory, VkDeviceSize pSize, VkDeviceSize pOffset) const in copyTo()
124 void Buffer::fill(VkDeviceSize dstOffset, VkDeviceSize fillSize, uint32_t data) in fill()
140 void Buffer::update(VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pData) in update()
147 void *Buffer::getOffsetPointer(VkDeviceSize offset) const in getOffsetPointer()
DVkImage.hpp61 void bind(DeviceMemory *pDeviceMemory, VkDeviceSize pMemoryOffset);
96 VkDeviceSize getLayerSize(VkImageAspectFlagBits aspect) const;
97 VkDeviceSize getMipLevelSize(VkImageAspectFlagBits aspect, uint32_t mipLevel) const;
124 VkDeviceSize getStorageSize(VkImageAspectFlags flags) 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;
128VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect, uint32_t mipLevel, uint32_t layer) cons…
129VkDeviceSize texelOffsetBytesInStorage(const VkOffset3D &offset, const VkImageSubresource &subreso…
130 VkDeviceSize getMemoryOffset(VkImageAspectFlagBits aspect) const;
[all …]
DVkDeviceMemory.hpp30 VkDeviceSize allocationSize = 0;
81 VkResult map(VkDeviceSize offset, VkDeviceSize size, void **ppData);
82 VkDeviceSize getCommittedMemoryInBytes() const;
83 void *getOffsetPointer(VkDeviceSize pOffset) const;
95 virtual VkDeviceSize externalImageMemoryOffset(VkImageAspectFlagBits aspect) const { return 0; } in externalImageMemoryOffset()
121 const VkDeviceSize allocationSize;
DVkCommandBuffer.hpp79 const VkBuffer *pBuffers, const VkDeviceSize *pOffsets);
86 … Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags);
102 void bindIndexBuffer(Buffer *buffer, VkDeviceSize offset, VkIndexType indexType);
104 void dispatchIndirect(Buffer *buffer, VkDeviceSize offset);
110 …void updateBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void *pD…
111 void fillBuffer(Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data);
128 void drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
129 void drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
DVkConfig.hpp38 constexpr VkDeviceSize REQUIRED_MEMORY_ALIGNMENT = 16; // 16 bytes for 128-bit vector types.
41 constexpr VkDeviceSize MIN_TEXEL_BUFFER_OFFSET_ALIGNMENT = 256;
42 constexpr VkDeviceSize MIN_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 256;
43 constexpr VkDeviceSize MIN_STORAGE_BUFFER_OFFSET_ALIGNMENT = 256;
79 constexpr VkDeviceSize PHYSICAL_DEVICE_HEAP_SIZE = 0x80000000ull + 15; // 0x80000000 = 2 GiB
80 constexpr VkDeviceSize MAX_MEMORY_ALLOCATION_SIZE = 0x40000000ull; // 0x40000000 = 1 GiB
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp103 virtual VkDeviceSize getVertexStride (void) const = 0;
104 virtual VkDeviceSize getAABBStride (void) const = 0;
108 virtual VkDeviceSize getIndexStride (void) const = 0;
227 VkDeviceSize getVertexStride (void) const override;
228 VkDeviceSize getAABBStride (void) const override;
232 VkDeviceSize getIndexStride (void) const override;
322 VkDeviceSize RaytracedGeometry<V,I>::getVertexStride (void) const in getVertexStride()
324 return ((!isTrianglesType()) ? 0ull : static_cast<VkDeviceSize>(getBlockSize())); in getVertexStride()
328 VkDeviceSize RaytracedGeometry<V, I>::getAABBStride (void) const in getAABBStride()
330 return (isTrianglesType() ? 0ull : static_cast<VkDeviceSize>(getBlockSize())); in getAABBStride()
[all …]
DvkMemUtil.hpp63 VkDeviceSize getOffset (void) const { return m_offset; } in getOffset()
69 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr);
73 const VkDeviceSize m_offset;
135 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
145 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
159 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size…
160 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
161 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
192 const VkDeviceSize size);
DvkRayTracingUtil.cpp293 VkDeviceSize offset ) in getBufferDeviceAddress()
511 const VkDeviceSize storageSize) in SerialStorage()
588 VkDeviceOrHostAddressKHR SerialStorage::getHostAddress (VkDeviceSize offset) in getHostAddress()
594 VkDeviceOrHostAddressConstKHR SerialStorage::getHostAddressConst (VkDeviceSize offset) in getHostAddressConst()
609 inline VkDeviceSize SerialStorage::getStorageSize () const in getStorageSize()
748 VkDeviceSize getVertexBufferSize (const std::vector<de::SharedPtr<RaytracedGeometryBase>>& geometri… in getVertexBufferSize()
751 VkDeviceSize bufferSizeBytes = 0; in getVertexBufferSize()
760 const VkDeviceSize bufferSizeBytes) in createVertexBuffer()
778 VkDeviceSize geometriesOffset = 0) in updateVertexBuffer()
782 VkDeviceSize bufferOffset = geometriesOffset; in updateVertexBuffer()
[all …]
/third_party/mesa3d/src/amd/vulkan/radix_sort/
Dradix_sort_vk.h143 VkDeviceSize offset;
144 VkDeviceSize range;
149 VkDeviceSize offset;
234 VkDeviceSize keyval_size;
236 VkDeviceSize keyvals_size;
237 VkDeviceSize keyvals_alignment;
239 VkDeviceSize internal_size;
240 VkDeviceSize internal_alignment;
242 VkDeviceSize indirect_size;
243 VkDeviceSize indirect_alignment;
/third_party/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h2082 VkDeviceSize size,
2089 VkDeviceSize size,
2284 VkDeviceSize preferredLargeHeapBlockSize;
2329 …const VkDeviceSize* VMA_NULLABLE VMA_LEN_IF_NOT_NULL("VkPhysicalDeviceMemoryProperties::memoryHeap…
2446 VkDeviceSize usedBytes;
2448 VkDeviceSize unusedBytes;
2449 VkDeviceSize allocationSizeMin, allocationSizeAvg, allocationSizeMax;
2450 VkDeviceSize unusedRangeSizeMin, unusedRangeSizeAvg, unusedRangeSizeMax;
2480 VkDeviceSize blockBytes;
2491 VkDeviceSize allocationBytes;
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.h38 VkDeviceSize lastAllocationOffset;
107 vk::BufferHelper &getBufferAndOffset(VkDeviceSize *offsetOut) in getBufferAndOffset()
123 VkDeviceSize offset,
124 VkDeviceSize length,
129 VkDeviceSize offset,
130 VkDeviceSize length,
172 VkDeviceSize *stagingBufferOffset,
176 VkDeviceSize stagingBufferOffset,
192 VkDeviceSize offset,
193 VkDeviceSize size,
[all …]
DVertexArrayVk.h60 VkDeviceSize indirectBufferOffset,
62 VkDeviceSize *indirectBufferOffsetOut);
66 VkDeviceSize indirectBufferOffset,
68 VkDeviceSize *indirectBufferOffsetOut);
75 const gl::AttribArray<VkDeviceSize> &getCurrentArrayBufferOffsets() const in getCurrentArrayBufferOffsets()
85 VkDeviceSize getCurrentElementArrayBufferOffset() const in getCurrentElementArrayBufferOffset()
98 VkDeviceSize srcIndirectBufOffset,
100 VkDeviceSize *indirectBufferVkOffsetOut);
139 gl::AttribArray<VkDeviceSize> mCurrentArrayBufferOffsets;
146 VkDeviceSize mCurrentElementArrayBufferOffset;
Dvk_mem_alloc_wrapper.h25 VkDeviceSize preferredLargeHeapBlockSize, in VK_DEFINE_HANDLE()
33 VkDeviceSize blockSize, in VK_DEFINE_HANDLE()
65 VkDeviceSize offset, in VK_DEFINE_HANDLE()
66 VkDeviceSize size); in VK_DEFINE_HANDLE()
70 VkDeviceSize offset, in VK_DEFINE_HANDLE()
71 VkDeviceSize size); in VK_DEFINE_HANDLE()
/third_party/skia/src/gpu/vk/
DGrVkMemory.h45 void FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
46 VkDeviceSize size);
47 void InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
48 VkDeviceSize size);
52 void GetNonCoherentMappedMemoryRange(const GrVkAlloc&, VkDeviceSize offset, VkDeviceSize size,
53 VkDeviceSize alignment, VkMappedMemoryRange*);
/third_party/flutter/skia/src/gpu/vk/
DGrVkMemory.h45 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
46 VkDeviceSize size);
47 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset,
48 VkDeviceSize size);
52 void GetNonCoherentMappedMemoryRange(const GrVkAlloc&, VkDeviceSize offset, VkDeviceSize size,
53 VkDeviceSize alignment, VkMappedMemoryRange*);
DGrVkMemory.cpp86 const VkDeviceSize kMaxSmallImageSize = 256 * 1024;
139 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in MapAlloc()
168 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, in GetNonCoherentMappedMemoryRange()
169 VkDeviceSize size, VkDeviceSize alignment, in GetNonCoherentMappedMemoryRange()
173 VkDeviceSize offsetDiff = offset & (alignment -1); in GetNonCoherentMappedMemoryRange()
191 void GrVkMemory::FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, in FlushMappedAlloc()
192 VkDeviceSize size) { in FlushMappedAlloc()
200 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in FlushMappedAlloc()
211 VkDeviceSize offset, VkDeviceSize size) { in InvalidateMappedAlloc()
219 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in InvalidateMappedAlloc()
/third_party/skia/include/gpu/vk/
DGrVkMemoryAllocator.h115 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize, VkDeviceSize) {} in flushMappedMemory() argument
116 virtual VkResult flushMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, in flushMemory()
117 VkDeviceSize size) { in flushMemory()
121 virtual void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize, VkDeviceSize) {} in invalidateMappedMemory() argument
122 virtual VkResult invalidateMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, in invalidateMemory()
123 VkDeviceSize size) { in invalidateMemory()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp66 static VkDeviceSize min (VkDeviceSize a, VkDeviceSize b) in min()
128 VkDeviceSize readAccessRange,
139 const VkDeviceSize m_readAccessRange;
153 VkDeviceSize writeAccessRange,
162 const VkDeviceSize m_writeAccessRange;
180 VkDeviceSize inBufferAccessRange,
181 VkDeviceSize outBufferAccessRange,
192 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic…
193 bool isOutBufferValueUnchanged (VkDeviceSize offsetInBytes, VkDeviceSize valueSize);
210 const VkDeviceSize m_inBufferAccessRange;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp66 static VkDeviceSize min (VkDeviceSize a, VkDeviceSize b) in min()
128 VkDeviceSize readAccessRange,
139 const VkDeviceSize m_readAccessRange;
153 VkDeviceSize writeAccessRange,
162 const VkDeviceSize m_writeAccessRange;
180 VkDeviceSize inBufferAccessRange,
181 VkDeviceSize outBufferAccessRange,
192 …bool isExpectedValueFromInBuffer (VkDeviceSize offsetInBytes, const void* valuePtr, VkDevic…
193 bool isOutBufferValueUnchanged (VkDeviceSize offsetInBytes, VkDeviceSize valueSize);
210 const VkDeviceSize m_inBufferAccessRange;
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
DvktCommandPoolMemoryReservationTests.cpp90 VkDeviceSize commandPoolReservedSize = 0u; in verifyCommandPoolReservedSize()
94 …PoolReservedSize = de::max(VkDeviceSize(64u * context.getTestContext().getCommandLine().getCommand… in verifyCommandPoolReservedSize()
97 …oolReservedSize = de::max(VkDeviceSize(8192u * context.getTestContext().getCommandLine().getComman… in verifyCommandPoolReservedSize()
102 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCo… in verifyCommandPoolReservedSize()
161VkDeviceSize commandPoolReservedSize = de::max(VkDeviceSize(eventCount * context.getTestCont… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
162 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.comma… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
239 VkDeviceSize cbAllocSum = 0u; in verifyCommandPoolAllocEqualsCommandBufferAlloc()
240 VkDeviceSize commandPoolAlloc = 0u; in verifyCommandPoolAllocEqualsCommandBufferAlloc()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
DvktCommandPoolMemoryReservationTests.cpp90 VkDeviceSize commandPoolReservedSize = 0u; in verifyCommandPoolReservedSize()
94 …PoolReservedSize = de::max(VkDeviceSize(64u * context.getTestContext().getCommandLine().getCommand… in verifyCommandPoolReservedSize()
97 …oolReservedSize = de::max(VkDeviceSize(8192u * context.getTestContext().getCommandLine().getComman… in verifyCommandPoolReservedSize()
102 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.commandBufferCo… in verifyCommandPoolReservedSize()
161VkDeviceSize commandPoolReservedSize = de::max(VkDeviceSize(eventCount * context.getTestCont… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
162 …commandPoolReservedSize = de::max(commandPoolReservedSize, VkDeviceSize(testParams.comma… in verifyCommandPoolAllocEqualsCommandBufferAlloc()
239 VkDeviceSize cbAllocSum = 0u; in verifyCommandPoolAllocEqualsCommandBufferAlloc()
240 VkDeviceSize commandPoolAlloc = 0u; in verifyCommandPoolAllocEqualsCommandBufferAlloc()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer.h160 VkDeviceSize size,
167 VkDeviceSize size,
182 VkDeviceSize offset,
183 VkDeviceSize size);
186 VkDeviceSize offset,
187 VkDeviceSize size);
316 VkDeviceSize size, in vn_renderer_bo_create_from_device_memory()
338 VkDeviceSize size, in vn_renderer_bo_create_from_dma_buf()
388 VkDeviceSize offset, in vn_renderer_bo_flush()
389 VkDeviceSize end) in vn_renderer_bo_flush()
[all …]

12345678910>>...38