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.cpp472 , m_resource (resource) in Implementation()
476 DE_ASSERT((m_resource.getBuffer().size % sizeof(deUint32)) == 0); in Implementation()
477 DE_ASSERT(m_bufferOp == BUFFER_OP_FILL || m_resource.getBuffer().size <= MAX_UPDATE_BUFFER_SIZE); in Implementation()
479 m_data.resize(static_cast<size_t>(m_resource.getBuffer().size)); in Implementation()
505 …vk.cmdFillBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_resour… in recordCommands()
507 …vk.cmdUpdateBuffer(cmdBuffer, m_resource.getBuffer().handle, m_resource.getBuffer().offset, m_reso… in recordCommands()
539 Resource& m_resource; member in vkt::synchronization::__anon5f1475170111::FillUpdateBuffer::Implementation
592 , m_resource (resource) in Implementation()
600 …MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(m_resource.getBuffer().size… in Implementation()
605 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(m_resource.getBuffer().size)); in Implementation()
[all …]
DvktSynchronizationOperationSingleQueueTests.cpp55 …, m_resource (new Resource(m_opContext, resourceDesc, writeOp.getResourceUsageFlags() | readOp.get… in BaseTestInstance()
56 , m_writeOp (writeOp.build(m_opContext, *m_resource)) in BaseTestInstance()
57 , m_readOp (readOp.build(m_opContext, *m_resource)) in BaseTestInstance()
63 const de::UniquePtr<Resource> m_resource; member in vkt::synchronization::__anonfad826710111::BaseTestInstance
93 if (m_resource->getType() == RESOURCE_TYPE_BUFFER || isIndirectBuffer(m_resource->getType())) in iterate()
96 m_resource->getBuffer().handle, m_resource->getBuffer().offset, m_resource->getBuffer().size); in iterate()
99 else if (m_resource->getType() == RESOURCE_TYPE_IMAGE) in iterate()
102 …writeSync.imageLayout, readSync.imageLayout, m_resource->getImage().handle, m_resource->getImage()… in iterate()
146 if (m_resource->getType() == RESOURCE_TYPE_BUFFER || isIndirectBuffer(m_resource->getType())) in iterate()
149 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.cpp427 UniquePtr<tcu::Resource> m_resource; member in glu::sl::ShaderParser
439 , m_resource (archive.getResource(m_filename.c_str())) in ShaderParser()
1624 const int dataLen = m_resource->getSize(); in parse()
1627 m_resource->setPosition(0); in parse()
1628 m_resource->read((deUint8*)&m_input[0], dataLen); in parse()