mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-28 04:54:30 +00:00
Add testing log
This commit is contained in:
parent
71c0d7911e
commit
ea4a3563b9
@ -136,6 +136,11 @@ ImportedHostBuffer::ImportedHostBuffer(const Vulkan::Instance& instance_,
|
|||||||
ASSERT_MSG(size_bytes % alignment == 0, "Size {:#x} is not aligned to {:#x}", size_bytes,
|
ASSERT_MSG(size_bytes % alignment == 0, "Size {:#x} is not aligned to {:#x}", size_bytes,
|
||||||
alignment);
|
alignment);
|
||||||
|
|
||||||
|
// Test log, should be removed
|
||||||
|
LOG_WARNING(Render_Vulkan,
|
||||||
|
"Creating imported host buffer at {} size {:#x}",
|
||||||
|
cpu_addr, size_bytes);
|
||||||
|
|
||||||
const auto& mem_props = instance->GetMemoryProperties();
|
const auto& mem_props = instance->GetMemoryProperties();
|
||||||
auto ptr_props_result = instance->GetDevice().getMemoryHostPointerPropertiesEXT(
|
auto ptr_props_result = instance->GetDevice().getMemoryHostPointerPropertiesEXT(
|
||||||
vk::ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT, cpu_addr);
|
vk::ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT, cpu_addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user