You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Biswapriyo Nath
dd2061b073
render/vulkan: Fix clang compiler error in 32 bit ARM Android
This adds proper calling convention attribute for callbacks used in vulkan
and fixes the following compiler error.
../src/render/vulkan/vulkan.c:175:22: error: incompatible function pointer types
initializing 'PFN_vkDebugUtilsMessengerCallbackEXT' (aka 'unsigned int (*)
(enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int, const struct
VkDebugUtilsMessengerCallbackDataEXT *, void *) __attribute__((pcs("aapcs-vfp")))')
with an expression of type 'VkBool32 (*)(VkDebugUtilsMessageSeverityFlagBitsEXT,
VkDebugUtilsMessageTypeFlagsEXT, const VkDebugUtilsMessengerCallbackDataEXT *, void *)'
(aka 'unsigned int (*)(enum VkDebugUtilsMessageSeverityFlagBitsEXT, unsigned int,
const struct VkDebugUtilsMessengerCallbackDataEXT *, void *)')
[-Wincompatible-function-pointer-types]
.pfnUserCallback = &debug_callback,
^~~~~~~~~~~~~~~
|
8 months ago |
.. |
shaders
|
render/vulkan: correct sRBG gamma expansion in shader
|
10 months ago |
meson.build
|
render/vulkan: use renamed glslang binary by default
|
1 year ago |
pass.c
|
render/vulkan: fix possible double free
|
10 months ago |
pixel_format.c
|
render/vulkan: Avoid double-free on calloc error
|
9 months ago |
renderer.c
|
Define _POSIX_C_SOURCE globally
|
9 months ago |
texture.c
|
Define _POSIX_C_SOURCE globally
|
9 months ago |
util.c
|
render/vulkan: drop unused vulkan_has_extension()
|
2 years ago |
vulkan.c
|
render/vulkan: Fix clang compiler error in 32 bit ARM Android
|
8 months ago |