Home
last modified time | relevance | path

Searched refs:m_resource (Results 1 – 4 of 4) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp475 , m_resource (resource) in Implementation()
479 DE_ASSERT((m_resource.getBuffer().size % sizeof(deUint32)) == 0); in Implementation()
480 DE_ASSERT(m_bufferOp == BUFFER_OP_FILL || m_resource.getBuffer().size <= MAX_UPDATE_BUFFER_SIZE); in Implementation()
482 m_data.resize(static_cast<size_t>(m_resource.getBuffer().size)); in Implementation()
508 …vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resour… in recordCommands()
510 …vk.cmdUpdateBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_reso… in recordCommands()
542 Resource& m_resource; member in vkt::synchronization::__anon7f0213210111::FillUpdateBuffer::Implementation
595 , m_resource (resource) in Implementation()
603 …MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(m_resource.getBuffer().size… in Implementation()
608 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size)); in Implementation()
[all …]
DvktSynchronizationOperationSingleQueueTests.cpp58 …, m_resource (new Resource(m_opContext, resourceDesc, writeOp.getResourceUsageFlags() | readOp.get… in BaseTestInstance()
59 , m_writeOp (writeOp.build(m_opContext, *m_resource)) in BaseTestInstance()
60 , m_readOp (readOp.build(m_opContext, *m_resource)) in BaseTestInstance()
66 const de::UniquePtr<Resource> m_resource; member in vkt::synchronization::__anon8ac4987b0111::BaseTestInstance
96 if (m_resource->getType() == RESOURCE_TYPE_BUFFER || isIndirectBuffer(m_resource->getType())) in iterate()
99 m_resource->getBuffer().handle, m_resource->getBuffer().offset, m_resource->getBuffer().size); in iterate()
102 else if (m_resource->getType() == RESOURCE_TYPE_IMAGE) in iterate()
105 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
149 if (m_resource->getType() == RESOURCE_TYPE_BUFFER || isIndirectBuffer(m_resource->getType())) in iterate()
152 m_resource->getBuffer().handle, m_resource->getBuffer().offset, m_resource->getBuffer().size); in iterate()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp121 de::UniquePtr<tcu::Resource> m_resource; member in vk::BinaryRegistryDetail::LazyResource
129 : m_resource(resource) in LazyResource()
131 const size_t resSize = m_resource->getSize(); in LazyResource()
164 if ((size_t)m_resource->getPosition() != pageOffset) in makePageResident()
165 m_resource->setPosition((int)pageOffset); in makePageResident()
167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp398 UniquePtr<tcu::Resource> m_resource; member in glu::sl::ShaderParser
410 , m_resource (archive.getResource(m_filename.c_str())) in ShaderParser()
1601 const int dataLen = m_resource->getSize(); in parse()
1604 m_resource->setPosition(0); in parse()
1605 m_resource->read((deUint8*)&m_input[0], dataLen); in parse()