mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2024-12-01 13:24:20 +01:00
24 lines
601 B
C
24 lines
601 B
C
#pragma once
|
|
|
|
#include "vkExt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//extension name something like: VK_KHR_rpi_surface
|
|
//extension that allows developers to create a surface to render to on Raspbian Stretch Lite
|
|
extern VkResult rpi_vkCreateRpiSurfaceEXT(
|
|
VkPhysicalDevice physicalDevice);
|
|
|
|
//extension that allows developers to submit QPU assembly directly and thus hand optimise code
|
|
extern VkResult rpi_vkCreateShaderModuleFromRpiAssemblyEXT(
|
|
VkPhysicalDevice physicalDevice);
|
|
|
|
//TODO performance counters / perfmon
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|