Is anyone else having issues enabling vulkan dynamic states like depth write, depth test and cull mode and getting crashes on android (when using the Google Android emulator)?
It works fine when I test on my actual phone, but segfaults in the emulator as soon as the vkSetCullMode() is executed.
If I comment it out.. All works fine.
The same code works perfectly on PC on Nvidia, Amd and Intel gpus.
The weird thing is.. When I have those 3 dynamic modes enabled in the pdynamicstates array in the pipelineconfiginfo, then the default values that were set in the config don't work since I commented out the vkSetxxx calls. If I remove those 3 from the pdynamicstates list, then the default values set in the config do work, which indicates the emulator does understand those dynamic states, but for some reason is crashing when I invoke the calls.
If you know of an alternate emulator I can use that does support vulkan 1.3, would appreciate a pointer to it.
Thanks.