Home
last modified time | relevance | path

Searched refs:m_bufferSize (Results 1 – 25 of 27) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp70 const deUint32 m_bufferSize; member in vkt::sparse::__anonad1a8b550111::BufferSparseBindingCase
80 , m_bufferSize (bufferSize) in BufferSparseBindingCase()
100 const deUint32 m_bufferSize; member in vkt::sparse::__anonad1a8b550111::BufferSparseBindingInstance
109 , m_bufferSize (bufferSize) in BufferSparseBindingInstance()
142 bufferCreateInfo.size = m_bufferSize; // VkDeviceSize size; in iterate()
256 …const VkBufferCreateInfo inputBufferCreateInfo = makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USA… in iterate()
261 referenceData.resize(m_bufferSize); in iterate()
263 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate()
268 deMemcpy(inputBufferAlloc->getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
278 m_bufferSize); in iterate()
[all …]
DvktSparseResourcesBufferSparseResidency.cpp78 const deUint32 m_bufferSize; member in vkt::sparse::__anon42365a600111::BufferSparseResidencyCase
92 , m_bufferSize (bufferSize) in BufferSparseResidencyCase()
101 const deUint32 iterationsCount = m_bufferSize / SIZE_OF_UINT_IN_SHADER; in initPrograms()
138 const deUint32 m_bufferSize; member in vkt::sparse::__anon42365a600111::BufferSparseResidencyInstance
145 , m_bufferSize (bufferSize) in BufferSparseResidencyInstance()
182 m_bufferSize, // VkDeviceSize size; in iterate()
273 …const VkBufferCreateInfo inputBufferCreateInfo = makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USA… in iterate()
279 referenceData.resize(m_bufferSize); in iterate()
281 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate()
286 deMemcpy(inputBufferAlloc->getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp70 const deUint32 m_bufferSize; member in vkt::sparse::__anon16a92cd50111::BufferSparseBindingCase
80 , m_bufferSize (bufferSize) in BufferSparseBindingCase()
100 const deUint32 m_bufferSize; member in vkt::sparse::__anon16a92cd50111::BufferSparseBindingInstance
109 , m_bufferSize (bufferSize) in BufferSparseBindingInstance()
142 bufferCreateInfo.size = m_bufferSize; // VkDeviceSize size; in iterate()
256 …const VkBufferCreateInfo inputBufferCreateInfo = makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USA… in iterate()
261 referenceData.resize(m_bufferSize); in iterate()
263 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate()
268 deMemcpy(inputBufferAlloc->getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
278 m_bufferSize); in iterate()
[all …]
DvktSparseResourcesBufferSparseResidency.cpp78 const deUint32 m_bufferSize; member in vkt::sparse::__anon49f35be00111::BufferSparseResidencyCase
92 , m_bufferSize (bufferSize) in BufferSparseResidencyCase()
101 const deUint32 iterationsCount = m_bufferSize / SIZE_OF_UINT_IN_SHADER; in initPrograms()
138 const deUint32 m_bufferSize; member in vkt::sparse::__anon49f35be00111::BufferSparseResidencyInstance
145 , m_bufferSize (bufferSize) in BufferSparseResidencyInstance()
182 m_bufferSize, // VkDeviceSize size; in iterate()
273 …const VkBufferCreateInfo inputBufferCreateInfo = makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USA… in iterate()
279 referenceData.resize(m_bufferSize); in iterate()
281 for (deUint32 valueNdx = 0; valueNdx < m_bufferSize; ++valueNdx) in iterate()
286 deMemcpy(inputBufferAlloc->getHostPtr(), &referenceData[0], m_bufferSize); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferMapTests.cpp57 , m_bufferSize (bufferSize) in BufferMapReadCase()
73 refBuf.setSize(m_bufferSize); in iterate()
74 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
78 glBufferData(m_bufferTarget, m_bufferSize, DE_NULL, m_usage); in iterate()
79 writer.write(buf, 0, m_bufferSize, refBuf.getPtr(), m_bufferTarget); in iterate()
101 int m_bufferSize; member in deqp::gles3::Functional::BufferMapReadCase
163 , m_bufferSize (bufferSize) in BufferPartialMapWriteCase()
177 refBuf.setSize(m_bufferSize); in iterate()
178 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate()
182 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp131 deUintptr m_bufferSize; member in deqp::gles31::Functional::__anon9492a4550111::IndirectDispatchCase
151 , m_bufferSize (0) in IndirectDispatchCase()
185 vector<deUint8> data (m_bufferSize); in createCmdBufferUpload()
192 DE_ASSERT(cmdIter->offset + INDIRECT_COMMAND_SIZE <= (deIntptr)m_bufferSize); in createCmdBufferUpload()
251 …gl.bufferData(GL_DISPATCH_INDIRECT_BUFFER, (glw::GLsizeiptr)m_bufferSize, DE_NULL, GL_STATIC_DRAW); in createCmdBufferCompute()
352 …m_testCtx.getLog() << TestLog::Message << "GL_DISPATCH_INDIRECT_BUFFER size = " << m_bufferSize <<… in iterate()
398 m_bufferSize = bufferSize; in SingleDispatchCase()
410 m_bufferSize = 1<<10; in MultiDispatchCase()
427 m_bufferSize = 1<<10; in MultiDispatchReuseCommandCase()
Des31fDrawTests.cpp2276 const deUint32 m_bufferSize; member in deqp::gles31::Functional::__anon9c9174a40111::BadCommandBufferCase
2284 , m_bufferSize (bufferSize) in BadCommandBufferCase()
2330 drawCommandBuffer.resize(m_bufferSize); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp250 , m_bufferSize (bufferSize) in DispatchCaseDesc()
257 const deUintptr m_bufferSize; member
301 const deUintptr m_bufferSize; member in vkt::compute::__anon79bbd58d0111::IndirectDispatchInstanceBufferUpload
326 , m_bufferSize (bufferSize) in IndirectDispatchInstanceBufferUpload()
344 DE_ASSERT(cmdIter->m_offset + INDIRECT_COMMAND_OFFSET <= (deIntptr)m_bufferSize); in fillIndirectBufferData()
365 …testCtx.getLog() << tcu::TestLog::Message << "GL_DISPATCH_INDIRECT_BUFFER size = " << m_bufferSize in iterate()
463 …vk::makeBufferCreateInfo(m_bufferSize, vk::VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | vk::VK_BUFFER_USA… in iterate()
566 const deUintptr m_bufferSize; member in vkt::compute::__anon79bbd58d0111::IndirectDispatchCaseBufferUpload
581 , m_bufferSize (caseDesc.m_bufferSize) in IndirectDispatchCaseBufferUpload()
622 …return new IndirectDispatchInstanceBufferUpload(context, m_name, m_bufferSize, m_workGroupSize, m_… in createInstance()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp250 , m_bufferSize (bufferSize) in DispatchCaseDesc()
257 const deUintptr m_bufferSize; member
301 const deUintptr m_bufferSize; member in vkt::compute::__anona580f70d0111::IndirectDispatchInstanceBufferUpload
326 , m_bufferSize (bufferSize) in IndirectDispatchInstanceBufferUpload()
344 DE_ASSERT(cmdIter->m_offset + INDIRECT_COMMAND_OFFSET <= (deIntptr)m_bufferSize); in fillIndirectBufferData()
365 …testCtx.getLog() << tcu::TestLog::Message << "GL_DISPATCH_INDIRECT_BUFFER size = " << m_bufferSize in iterate()
463 …vk::makeBufferCreateInfo(m_bufferSize, vk::VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT | vk::VK_BUFFER_USA… in iterate()
566 const deUintptr m_bufferSize; member in vkt::compute::__anona580f70d0111::IndirectDispatchCaseBufferUpload
581 , m_bufferSize (caseDesc.m_bufferSize) in IndirectDispatchCaseBufferUpload()
622 …return new IndirectDispatchInstanceBufferUpload(context, m_name, m_bufferSize, m_workGroupSize, m_… in createInstance()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp2153 FillBuffer (deUint32 value) : m_value(value), m_bufferSize(0) {} in FillBuffer()
2163 vk::VkDeviceSize m_bufferSize; member in vkt::memory::__anonbaa60de30111::FillBuffer
2178 m_bufferSize = sizeMask & context.getBufferSize(); in submit()
2179 vkd.cmdFillBuffer(cmd, buffer, 0, m_bufferSize, m_value); in submit()
2186 for (size_t ndx = 0; ndx < m_bufferSize; ndx++) in verify()
2199 UpdateBuffer (deUint32 seed) : m_seed(seed), m_bufferSize(0) {} in UpdateBuffer()
2209 vk::VkDeviceSize m_bufferSize; member in vkt::memory::__anonbaa60de30111::UpdateBuffer
2226 m_bufferSize = context.getBufferSize(); in submit()
2228 for (size_t updated = 0; updated < m_bufferSize; updated += blockSize) in submit()
2233 if (m_bufferSize - updated > blockSize) in submit()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryPipelineBarrierTests.cpp2153 FillBuffer (deUint32 value) : m_value(value), m_bufferSize(0) {} in FillBuffer()
2163 vk::VkDeviceSize m_bufferSize; member in vkt::memory::__anon3bcb4f630111::FillBuffer
2178 m_bufferSize = sizeMask & context.getBufferSize(); in submit()
2179 vkd.cmdFillBuffer(cmd, buffer, 0, m_bufferSize, m_value); in submit()
2186 for (size_t ndx = 0; ndx < m_bufferSize; ndx++) in verify()
2199 UpdateBuffer (deUint32 seed) : m_seed(seed), m_bufferSize(0) {} in UpdateBuffer()
2209 vk::VkDeviceSize m_bufferSize; member in vkt::memory::__anon3bcb4f630111::UpdateBuffer
2226 m_bufferSize = context.getBufferSize(); in submit()
2228 for (size_t updated = 0; updated < m_bufferSize; updated += blockSize) in submit()
2233 if (m_bufferSize - updated > blockSize) in submit()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsTextureBufferCase.hpp87 const size_t m_bufferSize; member in deqp::gls::TextureBufferCase
DglsTextureBufferCase.cpp947 , m_bufferSize (bufferSize) in TextureBufferCase()
1042 …runTests(m_testCtx, m_renderCtx, rng, m_format, m_bufferSize, offset, m_size, m_preRender, m_preRe… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp191 VkDeviceSize getSize (void) const { return m_bufferSize; } in getSize()
207 const VkDeviceSize m_bufferSize; member in vkt::image::__anonba0fd8830111::ut::StorageBuffer2D
391 , m_bufferSize (m_width * m_height * m_format.getPixelSize()) in StorageBuffer2D()
405 m_bufferSize, // VkDeviceSize size; in StorageBuffer2D()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp191 VkDeviceSize getSize (void) const { return m_bufferSize; } in getSize()
207 const VkDeviceSize m_bufferSize; member in vkt::image::__anon3b351a030111::ut::StorageBuffer2D
391 , m_bufferSize (m_width * m_height * m_format.getPixelSize()) in StorageBuffer2D()
405 m_bufferSize, // VkDeviceSize size; in StorageBuffer2D()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp896 , m_bufferSize (getPixelBufferSize(m_resource.getImage().format, m_resource.getImage().extent)) in ImplementationBase()
903 …vk, device, allocator, makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BU… in ImplementationBase()
908 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_bufferSize)); in ImplementationBase()
910 fillPattern(alloc.getHostPtr(), m_bufferSize); in ImplementationBase()
974 m_bufferSize // VkDeviceSize size in recordCommands()
1049 return getHostBufferData(m_context, *m_hostBuffer, m_bufferSize); in getData()
1062 const VkDeviceSize m_bufferSize; member in vkt::synchronization::__anon051bf2160111::CopyBlitResolveImage::ImplementationBase
3025 , m_bufferSize (getPixelBufferSize(m_resource.getImage().format, m_resource.getImage().extent)) in WriteImplementation()
3034 …vk, device, allocator, makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USAGE_TRANSFER_SRC_BIT), Memor… in WriteImplementation()
3037 fillPattern(alloc.getHostPtr(), m_bufferSize); in WriteImplementation()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationOperation.cpp896 , m_bufferSize (getPixelBufferSize(m_resource.getImage().format, m_resource.getImage().extent)) in ImplementationBase()
903 …vk, device, allocator, makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BU… in ImplementationBase()
908 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_bufferSize)); in ImplementationBase()
910 fillPattern(alloc.getHostPtr(), m_bufferSize); in ImplementationBase()
974 m_bufferSize // VkDeviceSize size in recordCommands()
1049 return getHostBufferData(m_context, *m_hostBuffer, m_bufferSize); in getData()
1062 const VkDeviceSize m_bufferSize; member in vkt::synchronization::__anon079f60960111::CopyBlitResolveImage::ImplementationBase
3025 , m_bufferSize (getPixelBufferSize(m_resource.getImage().format, m_resource.getImage().extent)) in WriteImplementation()
3034 …vk, device, allocator, makeBufferCreateInfo(m_bufferSize, VK_BUFFER_USAGE_TRANSFER_SRC_BIT), Memor… in WriteImplementation()
3037 fillPattern(alloc.getHostPtr(), m_bufferSize); in WriteImplementation()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2399 : m_bufferSize (0) in VulkanVideoBitstreamBuffer()
2424 m_bufferSize = deAlign64(bufferSize, bufferSizeAlignment); in CreateVideoBitstreamBuffer()
2432 m_bufferSize, // VkDeviceSize size; in CreateVideoBitstreamBuffer()
2455 DE_ASSERT(bitstreamDataSize <= m_bufferSize); in CopyVideoBitstreamToBuffer()
2472 m_bufferSize = 0; in DestroyVideoBitstreamBuffer()
2484 return m_bufferSize; in GetBufferSize()
DvktVideoBaseDecodeUtils.hpp409 VkDeviceSize m_bufferSize; member in vkt::video::VulkanVideoBitstreamBuffer
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoBaseDecodeUtils.cpp2399 : m_bufferSize (0) in VulkanVideoBitstreamBuffer()
2424 m_bufferSize = deAlign64(bufferSize, bufferSizeAlignment); in CreateVideoBitstreamBuffer()
2432 m_bufferSize, // VkDeviceSize size; in CreateVideoBitstreamBuffer()
2455 DE_ASSERT(bitstreamDataSize <= m_bufferSize); in CopyVideoBitstreamToBuffer()
2472 m_bufferSize = 0; in DestroyVideoBitstreamBuffer()
2484 return m_bufferSize; in GetBufferSize()
DvktVideoBaseDecodeUtils.hpp409 VkDeviceSize m_bufferSize; member in vkt::video::VulkanVideoBitstreamBuffer
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp147 deUint32 m_bufferSize; member in vkt::BindingModel::__anon473d47940111::BufferDescriptor
536 , m_bufferSize(256u * arraySize * numDynamicAreas) in BufferDescriptor()
560 m_bufferSize, // VkDeviceSize size in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp147 deUint32 m_bufferSize; member in vkt::BindingModel::__anon49c0b6140111::BufferDescriptor
536 , m_bufferSize(256u * arraySize * numDynamicAreas) in BufferDescriptor()
560 m_bufferSize, // VkDeviceSize size in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2181 VkDeviceSize m_bufferSize; member in vkt::api::__anon935fed9b0111::CopyImageToBuffer
2192 , m_bufferSize(m_params.dst.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyImageToBuffer()
2234 m_bufferSize, // VkDeviceSize size; in CopyImageToBuffer()
2297 m_bufferSize // VkDeviceSize size; in iterate()
2429 VkDeviceSize m_bufferSize; member in vkt::api::__anon935fed9b0111::CopyBufferToImage
2440 , m_bufferSize(m_params.src.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyBufferToImage()
2455 m_bufferSize, // VkDeviceSize size; in CopyBufferToImage()
2660 VkDeviceSize m_bufferSize; member in vkt::api::__anon935fed9b0111::CopyBufferToDepthStencil
2716 , m_bufferSize(0) in CopyBufferToDepthStencil()
2740m_bufferSize += static_cast<VkDeviceSize>(m_params.dst.image.extent.width) * static_cast<VkDeviceS… in CopyBufferToDepthStencil()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2181 VkDeviceSize m_bufferSize; member in vkt::api::__anon0d206f1b0111::CopyImageToBuffer
2192 , m_bufferSize(m_params.dst.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyImageToBuffer()
2234 m_bufferSize, // VkDeviceSize size; in CopyImageToBuffer()
2297 m_bufferSize // VkDeviceSize size; in iterate()
2429 VkDeviceSize m_bufferSize; member in vkt::api::__anon0d206f1b0111::CopyBufferToImage
2440 , m_bufferSize(m_params.src.buffer.size * tcu::getPixelSize(m_textureFormat)) in CopyBufferToImage()
2455 m_bufferSize, // VkDeviceSize size; in CopyBufferToImage()
2660 VkDeviceSize m_bufferSize; member in vkt::api::__anon0d206f1b0111::CopyBufferToDepthStencil
2716 , m_bufferSize(0) in CopyBufferToDepthStencil()
2740m_bufferSize += static_cast<VkDeviceSize>(m_params.dst.image.extent.width) * static_cast<VkDeviceS… in CopyBufferToDepthStencil()
[all …]

12