2019-09-30 21:38:35 +02:00
|
|
|
#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(
|
2019-09-30 22:30:37 +02:00
|
|
|
VkPhysicalDevice physicalDevice);
|
2019-09-30 21:38:35 +02:00
|
|
|
|
|
|
|
//extension that allows developers to submit QPU assembly directly and thus hand optimise code
|
|
|
|
extern VkResult rpi_vkCreateShaderModuleFromRpiAssemblyEXT(
|
2019-10-01 20:23:52 +02:00
|
|
|
VkPhysicalDevice physicalDevice);
|
2019-09-30 21:38:35 +02:00
|
|
|
|
|
|
|
//TODO performance counters / perfmon
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|