Home
last modified time | relevance | path

Searched refs:m_allocation (Results 1 - 25 of 26) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageWithMemory.hpp45 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) in ImageWithMemory()
47 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); in ImageWithMemory()
52 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
56 const de::UniquePtr<vk::Allocation> m_allocation; member in vk::ImageWithMemory
H A DvkBufferWithMemory.hpp49 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) in BufferWithMemory()
58 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
63 VK_CHECK(m_vk.bindBufferMemory(m_device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in bindMemory()
72 const de::UniquePtr<vk::Allocation> m_allocation; member in vk::BufferWithMemory
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationUtil.hpp70 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) in Buffer()
72 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
78 , m_allocation (allocation) in Buffer()
84 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
88 const de::UniquePtr<vk::Allocation> m_allocation; member in vkt::synchronization::Buffer
104 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) in Image()
106 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); in Image()
111 , m_allocation (allocatio in Image()
121 const de::UniquePtr<vk::Allocation> m_allocation; global() member in vkt::synchronization::Image
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationUtil.hpp70 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) in Buffer()
72 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
78 , m_allocation (allocation) in Buffer()
84 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
88 const de::UniquePtr<vk::Allocation> m_allocation; member in vkt::synchronization::Buffer
104 , m_allocation (allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement)) in Image()
106 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); in Image()
111 , m_allocation (allocatio in Image()
121 const de::UniquePtr<vk::Allocation> m_allocation; global() member in vkt::synchronization::Image
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawBufferObjectUtil.cpp35 : m_allocation (DE_NULL) in Buffer()
48 DE_ASSERT(!m_allocation); in bindMemory()
49 m_allocation = allocation; in bindMemory()
81 if (!m_allocation) in getHostPtr()
83 return reinterpret_cast<uint8_t*>(m_allocation->getHostPtr()) + m_allocOffset; in getHostPtr()
H A DvktDrawBufferObjectUtil.hpp55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
63 de::MovePtr<vk::Allocation> m_allocation; member in vkt::Draw::Buffer
H A DvktDrawImageObjectUtil.hpp241 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
256 de::MovePtr<vk::Allocation> m_allocation; member in vkt::Draw::Image
H A DvktDrawImageObjectUtil.cpp155 : m_allocation (DE_NULL) in Image()
810 DE_ASSERT(!m_allocation);
811 m_allocation = allocation;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawBufferObjectUtil.cpp35 : m_allocation (DE_NULL) in Buffer()
48 DE_ASSERT(!m_allocation); in bindMemory()
49 m_allocation = allocation; in bindMemory()
81 if (!m_allocation) in getHostPtr()
83 return reinterpret_cast<uint8_t*>(m_allocation->getHostPtr()) + m_allocOffset; in getHostPtr()
H A DvktDrawBufferObjectUtil.hpp55 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
63 de::MovePtr<vk::Allocation> m_allocation; member in vkt::Draw::Buffer
H A DvktDrawImageObjectUtil.hpp241 vk::Allocation getBoundMemory (void) const { return *m_allocation; } in getBoundMemory()
256 de::MovePtr<vk::Allocation> m_allocation; member in vkt::Draw::Image
H A DvktDrawImageObjectUtil.cpp155 : m_allocation (DE_NULL) in Image()
810 DE_ASSERT(!m_allocation);
811 m_allocation = allocation;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp226 de::MovePtr<Allocation> m_allocation; member in vkt::geometry::__anon27998::VaryingOutputCountTestInstance
313 m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequirement::Any); in createPipelineLayout()
314 VK_CHECK(vk.bindImageMemory(device, *m_texture, m_allocation->getMemory(), m_allocation->getOffset())); in createPipelineLayout()
339 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), MemoryRequirement::HostVisible); in bindDescriptorSets()
341 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in bindDescriptorSets()
343 deMemcpy(m_allocation->getHostPtr(), &emitCount[0], sizeof(emitCount)); in bindDescriptorSets()
344 flushAlloc(vk, device, *m_allocation); in bindDescriptorSets()
477 MovePtr<Allocation> m_allocation; member in vkt::geometry::__anon27998::BuiltinVariableRenderTestInstance
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp226 de::MovePtr<Allocation> m_allocation; member in vkt::geometry::__anon29230::VaryingOutputCountTestInstance
313 m_allocation = memAlloc.allocate(getImageMemoryRequirements(vk, device, *m_texture), MemoryRequirement::Any); in createPipelineLayout()
314 VK_CHECK(vk.bindImageMemory(device, *m_texture, m_allocation->getMemory(), m_allocation->getOffset())); in createPipelineLayout()
339 m_allocation = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), MemoryRequirement::HostVisible); in bindDescriptorSets()
341 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in bindDescriptorSets()
343 deMemcpy(m_allocation->getHostPtr(), &emitCount[0], sizeof(emitCount)); in bindDescriptorSets()
344 flushAlloc(vk, device, *m_allocation); in bindDescriptorSets()
477 MovePtr<Allocation> m_allocation; member in vkt::geometry::__anon29230::BuiltinVariableRenderTestInstance
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
H A DvktPostmortemUseAfterFreeTests.cpp84 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
86 void freeAllocation (void) { delete m_allocation.release(); } in freeAllocation()
89 de::MovePtr<vk::Allocation> m_allocation; member in vkt::postmortem::__anon28291::Buffer
103 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement); in Buffer()
104 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/postmortem/
H A DvktPostmortemUseAfterFreeTests.cpp84 vk::Allocation& getAllocation (void) const { return *m_allocation; } in getAllocation()
86 void freeAllocation (void) { delete m_allocation.release(); } in freeAllocation()
89 de::MovePtr<vk::Allocation> m_allocation; member in vkt::postmortem::__anon29503::Buffer
103 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement); in Buffer()
104 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTests.hpp283 de::SharedPtr< de::MovePtr<Allocation> > m_allocation; member
289 , m_device(device), m_interface(interface), m_buffer(buffer), m_allocation(allocation) in PixelBufferAccessBuffer()
295 invalidateAlloc(m_interface, m_device, **m_allocation); in invalidate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTests.hpp283 de::SharedPtr< de::MovePtr<Allocation> > m_allocation; member
289 , m_device(device), m_interface(interface), m_buffer(buffer), m_allocation(allocation) in PixelBufferAccessBuffer()
295 invalidateAlloc(m_interface, m_device, **m_allocation); in invalidate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp108 void* getHostPtr (void) const { return m_allocation->getHostPtr(); } in getHostPtr()
118 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon28661::Buffer
158 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), in Buffer()
168 flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in flush()
183 invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in invalidate()
H A DvktOpaqueTypeIndexingTests.cpp74 void* getHostPtr (void) const { return m_allocation->getHostPtr(); } in getHostPtr()
82 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon28667::Buffer
119 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), in Buffer()
128 flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in flush()
133 invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in invalidate()
500 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon28667::TestImage
568 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), context.getDevice(), context.getDefaultAllocator(), *m_image)) in TestImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktAtomicOperationTests.cpp108 void* getHostPtr (void) const { return m_allocation->getHostPtr(); } in getHostPtr()
118 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon29810::Buffer
158 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), in Buffer()
168 flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in flush()
183 invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in invalidate()
H A DvktOpaqueTypeIndexingTests.cpp74 void* getHostPtr (void) const { return m_allocation->getHostPtr(); } in getHostPtr()
82 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon29816::Buffer
119 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), in Buffer()
128 flushMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in flush()
133 invalidateMappedMemoryRange(m_vkd, m_device, m_allocation->getMemory(), m_allocation->getOffset(), VK_WHOLE_SIZE); in invalidate()
502 const UniquePtr<Allocation> m_allocation; member in vkt::shaderexecutor::__anon29816::TestImage
570 , m_allocation (allocateAndBindMemory (context.getDeviceInterface(), context.getDevice(), context.getDefaultAllocator(), *m_image)) in TestImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderConditionalRenderingTestsEXT.cpp143 , m_allocation () in ConditionBuffer()
171 m_allocation = allocation; in ConditionBuffer()
191 de::MovePtr<Allocation> m_allocation; member in vkt::MeshShader::__anon28091::ConditionBuffer
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderConditionalRenderingTestsEXT.cpp143 , m_allocation () in ConditionBuffer()
171 m_allocation = allocation; in ConditionBuffer()
191 de::MovePtr<Allocation> m_allocation; member in vkt::MeshShader::__anon29322::ConditionBuffer
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsTestsUtils.cpp663 return *m_allocation; in getAllocation()
672 de::details::MovePtr<Allocation> m_allocation; member
700 m_allocation = context.getDefaultAllocator().allocate(req, MemoryRequirement::HostVisible); in Buffer()
701 VK_CHECK(vkd.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); in Buffer()
804 m_allocation = context.getDefaultAllocator().allocate(req, MemoryRequirement::Any); in Image()
806 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); in Image()

Completed in 33 milliseconds

12