Home
last modified time | relevance | path

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

12345

/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp228 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocIn… in allocMemory()
242 MemoryRange (VkDeviceSize offset_ = ~(VkDeviceSize)0, VkDeviceSize size_ = ~(VkDeviceSize)0) in MemoryRange()
248 VkDeviceSize offset;
249 VkDeviceSize size;
255 : allocationSize (~(VkDeviceSize)0) in TestConfig()
259 VkDeviceSize allocationSize;
328 …const VkDeviceSize nonCoherentAtomSize = context.getDeviceProperties().limits.nonCoherentAtom… in testMemoryMapping()
366 …const VkDeviceSize atomSize = (memoryType.propertyFlags & VK_MEMORY_PROPERTY_HOST_COHERENT_BIT)… in testMemoryMapping()
415 for (VkDeviceSize ndx = 0; ndx < config.mapping.size * atomSize; ndx++) in testMemoryMapping()
563 VkDeviceSize randomSize (de::Random& rng, VkDeviceSize atomSize, VkDeviceSize maxSize) in randomSize()
[all …]
DvktMemoryAllocationTests.cpp77 Maybe<VkDeviceSize> memorySize;
139 …const VkDeviceSize allocationSize = (m_config.memorySize ? *m_config.memorySize : (VkDeviceSize)(… in iterate()
278 VkDeviceSize size;
284 VkDeviceSize memoryUsage;
285 VkDeviceSize maxMemoryUsage;
307 VkDeviceSize m_totalSystemMem;
308 VkDeviceSize m_totalDeviceMem;
378 const VkDeviceSize usedSysMem = isUMA ? (m_totalDeviceMem+m_totalSystemMem) : m_totalSystemMem; in iterate()
439 const VkDeviceSize maxAllocSize = (isDeviceLocal && !isUMA) in iterate()
440 …? de::min(heap.maxMemoryUsage - heap.memoryUsage, (VkDeviceSize)m_memoryLimits.totalDeviceLocalMem… in iterate()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.hpp60 VkDeviceSize getOffset (void) const { return m_offset; } in getOffset()
66 Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr);
70 const VkDeviceSize m_offset;
117 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
127 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
136 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
137 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
DvkMemUtil.cpp45 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
57 … DeviceInterface& vkd, VkDevice device, VkDeviceMemory mem, VkDeviceSize offset, VkDeviceSize size… in mapMemory()
65 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size… in HostPtr()
100 Allocation::Allocation (VkDeviceMemory memory, VkDeviceSize offset, void* hostPtr) in Allocation()
160 : Allocation (*mem, (VkDeviceSize)0, hostPtr ? hostPtr->get() : DE_NULL) in SimpleAllocation()
177 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize in allocate()
213 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in flushMappedMemoryRange()
227 …viceInterface& vkd, VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size) in invalidateMappedMemoryRange()
DvkStructTypes.inl116 VkDeviceSize maxResourceSize;
132 VkDeviceSize bufferImageGranularity;
133 VkDeviceSize sparseAddressSpaceSize;
188 VkDeviceSize minTexelBufferOffsetAlignment;
189 VkDeviceSize minUniformBufferOffsetAlignment;
190 VkDeviceSize minStorageBufferOffsetAlignment;
224 VkDeviceSize optimalBufferCopyOffsetAlignment;
225 VkDeviceSize optimalBufferCopyRowPitchAlignment;
226 VkDeviceSize nonCoherentAtomSize;
267 VkDeviceSize size;
[all …]
DvkPlatform.hpp110VkDeviceSize totalDeviceLocalMemory; //!< #bytes of total DEVICE_LOCAL memory tests must not ex…
111VkDeviceSize deviceMemoryAllocationGranularity; //!< VkDeviceMemory allocation granularity (typica…
115 VkDeviceSize devicePageSize; //!< Page size on device (must be rounded up to nearest POT)
116 VkDeviceSize devicePageTableEntrySize; //!< Number of bytes per page table size
DvkTypeUtil.inl26 inline VkMemoryRequirements makeMemoryRequirements (VkDeviceSize size, VkDeviceSize alignment, deUi…
35 …seMemoryBind makeSparseMemoryBind (VkDeviceSize resourceOffset, VkDeviceSize size, VkDeviceMemory …
91 …ut makeSubresourceLayout (VkDeviceSize offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceS…
253 …riptorBufferInfo makeDescriptorBufferInfo (VkBuffer buffer, VkDeviceSize offset, VkDeviceSize rang…
314 inline VkBufferCopy makeBufferCopy (VkDeviceSize srcOffset, VkDeviceSize dstOffset, VkDeviceSize si…
DvkConcreteDeviceInterface.inl11 …lt mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
15 virtual void getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pC…
16 …rMemory (VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) c…
17 …geMemory (VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) c…
36 …t32 firstQuery, deUint32 queryCount, deUintptr dataSize, void* pData, VkDeviceSize stride, VkQuery…
91 virtual void cmdBindIndexBuffer (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize
92 … firstBinding, deUint32 bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) cons…
95 virtual void cmdDrawIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize of…
96 …awIndexedIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint3…
98 virtual void cmdDispatchIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize
[all …]
DvkVirtualDeviceInterface.inl11 …lt mapMemory (VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size…
15 virtual void getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pC…
16 …rMemory (VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset) c…
17 …geMemory (VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset) c…
36 …t32 firstQuery, deUint32 queryCount, deUintptr dataSize, void* pData, VkDeviceSize stride, VkQuery…
91 virtual void cmdBindIndexBuffer (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize
92 … firstBinding, deUint32 bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets) cons…
95 virtual void cmdDrawIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize of…
96 …awIndexedIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint3…
98 virtual void cmdDispatchIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize
[all …]
DvkNullDriver.cpp282 VkDeviceSize getSize (void) const { return m_size; } in getSize()
285 const VkDeviceSize m_size;
536 requirements->alignment = (VkDeviceSize)1u; in getBufferMemoryRequirements()
539 VkDeviceSize getPackedImageDataSize (VkFormat format, VkExtent3D extent, VkSampleCountFlagBits samp… in getPackedImageDataSize()
541 return (VkDeviceSize)getPixelSize(mapVkFormat(format)) in getPackedImageDataSize()
542 * (VkDeviceSize)extent.width in getPackedImageDataSize()
543 * (VkDeviceSize)extent.height in getPackedImageDataSize()
544 * (VkDeviceSize)extent.depth in getPackedImageDataSize()
545 * (VkDeviceSize)samples; in getPackedImageDataSize()
548 VkDeviceSize getCompressedImageDataSize (VkFormat format, VkExtent3D extent) in getCompressedImageDataSize()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktQueryPoolImageObjectUtil.hpp46 vk::VkDeviceSize rowPitchOrZero,
47 vk::VkDeviceSize depthPitchOrZero,
55 vk::VkDeviceSize rowPitchOrZero,
56 vk::VkDeviceSize depthPitchOrZero,
222 vk::VkDeviceSize getPixelOffset (vk::VkOffset3D offset,
223 vk::VkDeviceSize rowPitch,
224 vk::VkDeviceSize depthPitch,
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktDynamicStateImageObjectUtil.hpp47 vk::VkDeviceSize rowPitchOrZero,
48 vk::VkDeviceSize depthPitchOrZero,
56 vk::VkDeviceSize rowPitchOrZero,
57 vk::VkDeviceSize depthPitchOrZero,
233 vk::VkDeviceSize getPixelOffset (vk::VkOffset3D offset,
234 vk::VkDeviceSize rowPitch,
235 vk::VkDeviceSize depthPitch,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp47 vk::VkDeviceSize rowPitchOrZero, in pack()
48 vk::VkDeviceSize depthPitchOrZero, in pack()
52 vk::VkDeviceSize rowPitch = rowPitchOrZero; in pack()
53 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack()
61 const vk::VkDeviceSize size = depthPitch * depth; in pack()
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && in pack()
71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); in pack()
99 vk::VkDeviceSize rowPitchOrZero, in unpack()
[all …]
DvktDrawImageObjectUtil.hpp46 vk::VkDeviceSize rowPitchOrZero,
47 vk::VkDeviceSize depthPitchOrZero,
55 vk::VkDeviceSize rowPitchOrZero,
56 vk::VkDeviceSize depthPitchOrZero,
232 vk::VkDeviceSize getPixelOffset (vk::VkOffset3D offset,
233 vk::VkDeviceSize rowPitch,
234 vk::VkDeviceSize depthPitch,
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp55 (VkDeviceSize) bufferSize, // size in createColorDataBuffer()
122 …BufferInfo resultInfo = makeDescriptorBufferInfo(resBuf, 0u, (vk::VkDeviceSize) ComputeInstanc… in createDescriptorSet()
125 …vk::makeDescriptorBufferInfo(viewA, (vk::VkDeviceSize)offsetA, (vk::VkDeviceSize)sizeof(tcu::Vec4[… in createDescriptorSet()
126 …vk::makeDescriptorBufferInfo(viewB, (vk::VkDeviceSize)offsetB, (vk::VkDeviceSize)sizeof(tcu::Vec4[… in createDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp105 const vk::VkDeviceSize offset,
106 const vk::VkDeviceSize size);
120 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize,
129 const vk::VkDeviceSize offset,
130 const vk::VkDeviceSize bufferSizeBytes);
155 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes()
DvktComputeTestsUtil.cpp57 VkBufferCreateInfo makeBufferCreateInfo (const VkDeviceSize bufferSize, in makeBufferCreateInfo()
179 const VkDeviceSize offset, in makeBufferView()
180 const VkDeviceSize size) in makeBufferView()
235 const VkDeviceSize offset, in makeBufferMemoryBarrier()
236 const VkDeviceSize bufferSizeBytes) in makeBufferMemoryBarrier()
/external/skia/third_party/vulkan/
Dvulkan.h67 typedef uint64_t VkDeviceSize; typedef
1226 VkDeviceSize maxResourceSize;
1241 VkDeviceSize bufferImageGranularity;
1242 VkDeviceSize sparseAddressSpaceSize;
1297 VkDeviceSize minTexelBufferOffsetAlignment;
1298 VkDeviceSize minUniformBufferOffsetAlignment;
1299 VkDeviceSize minStorageBufferOffsetAlignment;
1333 VkDeviceSize optimalBufferCopyOffsetAlignment;
1334 VkDeviceSize optimalBufferCopyRowPitchAlignment;
1335 VkDeviceSize nonCoherentAtomSize;
[all …]
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.h73 typedef uint64_t VkDeviceSize; typedef
1235 VkDeviceSize maxResourceSize;
1250 VkDeviceSize bufferImageGranularity;
1251 VkDeviceSize sparseAddressSpaceSize;
1306 VkDeviceSize minTexelBufferOffsetAlignment;
1307 VkDeviceSize minUniformBufferOffsetAlignment;
1308 VkDeviceSize minStorageBufferOffsetAlignment;
1342 VkDeviceSize optimalBufferCopyOffsetAlignment;
1343 VkDeviceSize optimalBufferCopyRowPitchAlignment;
1344 VkDeviceSize nonCoherentAtomSize;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.hpp129 const vk::VkDeviceSize offset,
130 const vk::VkDeviceSize size);
144 vk::VkBufferCreateInfo makeBufferCreateInfo (const vk::VkDeviceSize bufferSize,
153 const vk::VkDeviceSize offset,
154 const vk::VkDeviceSize bufferSizeBytes);
174 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes()
DvktImageQualifiersTests.cpp319 virtual void prepareResources (const VkDeviceSize bufferSizeInBytes) = 0;
324 const VkDeviceSize bufferSizeInBytes) const = 0;
327 const VkDeviceSize bufferSizeInBytes) const = 0;
363 …const VkDeviceSize bufferSizeInBytes = getNumPixels(m_imageType, m_imageSize) * tcu::getPixelSize(… in iterate()
473 virtual void prepareResources (const VkDeviceSize bufferSizeInBytes);
478 const VkDeviceSize bufferSizeInBytes) const;
481 const VkDeviceSize bufferSizeInBytes) const;
488 void MemoryQualifierInstanceImage::prepareResources (const VkDeviceSize bufferSizeInBytes) in prepareResources()
555 …eImage::commandsBeforeCompute (const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInByt… in commandsBeforeCompute()
573 …ceImage::commandsAfterCompute (const VkCommandBuffer cmdBuffer, const VkDeviceSize bufferSizeInByt… in commandsAfterCompute()
[all …]
/external/vulkan-validation-layers/demos/smoke/
DMeshes.h49 …void allocate_resources(VkDeviceSize vb_size, VkDeviceSize ib_size, const std::vector<VkMemoryProp…
64 VkDeviceSize ib_mem_offset_;
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h196 VkDeviceSize offset, uint32_t binding);
197 void BindIndexBuffer(VkIndexBufferObj *indexBuffer, VkDeviceSize offset);
200 void FillBuffer(VkBuffer buffer, VkDeviceSize offset,
201 VkDeviceSize fill_size, uint32_t data);
221 void UpdateBuffer(VkBuffer buffer, VkDeviceSize dstOffset,
222 VkDeviceSize dataSize, const uint32_t *pData);
257 void Bind(VkCommandBuffer commandBuffer, VkDeviceSize offset,
277 void Bind(VkCommandBuffer commandBuffer, VkDeviceSize offset);
358 VkDeviceSize m_rowPitch;

12345