android: anv building error after commit e08370dc
The building error happens with new Android meson build system
Android path between braces #if defined(ANDROID) && ANDROID_API_LEVEL >= 26/#endif
seems to lack the necessary changes after commit e08370dc
Please also check if some modifiers logic is required, the difficulty is how to express create_info
prior to replacing ISL_SURF_USAGE_DISABLE_AUX_BIT
with create_info
in line 1607
../src/intel/vulkan/anv_image.c:1607:46: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'co
nst struct anv_image_create_info *' [-Werror,-Wint-conversion]
ISL_SURF_USAGE_DISABLE_AUX_BIT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/intel/isl/isl.h:1103:48: note: expanded from macro 'ISL_SURF_USAGE_DISABLE_AUX_BIT'
#define ISL_SURF_USAGE_DISABLE_AUX_BIT (1u << 5)
^~~~~~~~~
../src/intel/vulkan/anv_image.c:1023:40: note: passing argument to parameter 'create_info' here
const struct anv_image_create_info *create_info)
^
1 error generated.
Edited by maurossi