mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-01-30 22:52:14 +01:00
format
This commit is contained in:
parent
a7918ba249
commit
601d21296e
@ -14,17 +14,17 @@ __inline__ static void DEBUG_BREAK(void)
|
||||
}
|
||||
|
||||
#ifdef DEBUG_BUILD
|
||||
#define assert(expr) \
|
||||
#define assert(expr) \
|
||||
if( expr ){} \
|
||||
else \
|
||||
{ \
|
||||
{ \
|
||||
printf("Assert failed: %s\n" \
|
||||
"File: %s\n" \
|
||||
"Line: %i\n", #expr, __FILE__, __LINE__); \
|
||||
DEBUG_BREAK(); \
|
||||
}
|
||||
}
|
||||
#else
|
||||
#define assert(expr) //do nothing
|
||||
#define assert(expr) //do nothing
|
||||
#endif
|
||||
|
||||
#if defined (__cplusplus)
|
||||
|
@ -291,7 +291,7 @@ uint32_t vc4_bo_alloc_shader(int fd, const void *data, uint32_t* size)
|
||||
}
|
||||
|
||||
uint32_t vc4_bo_open_name(int fd, uint32_t name)
|
||||
//uint32_t winsys_stride)
|
||||
//uint32_t winsys_stride)
|
||||
{
|
||||
struct drm_gem_open o = {
|
||||
.name = name
|
||||
|
@ -18,7 +18,7 @@ typedef struct VkRpiSurfaceCreateInfoKHR {
|
||||
const void* pNext;
|
||||
VkRpiSurfaceCreateFlagsKHR flags; //reserved
|
||||
//maybe include some other stuff dunno
|
||||
} VkRpiSurfaceCreateInfoKHR;
|
||||
} VkRpiSurfaceCreateInfoKHR;
|
||||
|
||||
//extension name something like: VK_KHR_rpi_surface
|
||||
VkResult vkCreateRpiSurfaceKHR(
|
||||
|
Loading…
x
Reference in New Issue
Block a user