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:

1 Like

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

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.