Does vulkan support Geometry shader in Android or IOS?

if (deviceFeatures.geometryShader) 
{
    enabledFeatures.geometryShader = VK_TRUE;
}
else {
    vks::tools::exitFatal("Selected GPU does not support geometry shaders!", VK_ERROR_FEATURE_NOT_PRESENT);
}

but when I chose opengl es render use geometry shader , It’s OK

On IOS Vulkan is forced to work on Metal via MoltenVK. Metal does not support geometry shaders, so they won’t be supported unless MoltenVK decides to emulate it via compute.

On Android nothing prevents having geometry shader. The GPU driver decides if it can do it or not. E.g. this gpu seems to support it: https://vulkan.gpuinfo.org/displayreport.php?id=7237#features.

1 Like

thank for your replay, the web link you in your replay is useful for me .