MCPcopy Create free account
hub / github.com/InoriRus/Kyty / VulkanBindBufferMemory

Function VulkanBindBufferMemory

source/emulator/src/Graphics/Objects/GpuMemory.cpp:2282–2291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2280}
2281
2282void VulkanBindBufferMemory(GraphicContext* ctx, VulkanBuffer* buffer, VulkanMemory* mem)
2283{
2284 KYTY_PROFILER_FUNCTION();
2285
2286 EXIT_IF(ctx == nullptr);
2287 EXIT_IF(mem == nullptr);
2288 EXIT_IF(buffer == nullptr);
2289
2290 vkBindBufferMemory(ctx->device, buffer->buffer, mem->memory, mem->offset);
2291}
2292
2293void GpuMemoryRegisterOwner(uint32_t* owner_handle, const char* name)
2294{

Callers 1

VulkanCreateBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected