mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-28 22:29:42 -06:00
21 lines
379 B
C++
21 lines
379 B
C++
#include "stdafx.h"
|
|
#include "VulkanAPI.h"
|
|
|
|
#include "vkutils/device.h"
|
|
|
|
#define DECLARE_VK_FUNCTION_BODY
|
|
#include "VKProcTable.h"
|
|
|
|
namespace vk
|
|
{
|
|
const render_device* get_current_renderer();
|
|
|
|
void init()
|
|
{
|
|
auto pdev = get_current_renderer();
|
|
|
|
#define VK_FUNC(func) _##func = reinterpret_cast<PFN_##func>(vkGetDeviceProcAddr(*pdev, #func))
|
|
#include "VKProcTable.h"
|
|
}
|
|
}
|