I'm trying to run WebGpu on an Android emulator, (on M1 mac with Metal - 83.1, android sdk emulator version 31.3.10.0)
i've tried different emulators, with API 28-33, and all the rendering option (renderer-maximum / swift-shaders / native-openGL).
the device logcat shows it's GLES version is 3.0.3.
if i request a device with limits::downlevel_defaults()
(which is compatible with GLES-3.1), it fails as expected, with these errors:
Error in Adapter::request_device: Limit 'max_vertex_buffers' value 8 is better than allowed 0
or
Error in Adapter::request_device: Limit 'max_compute_workgroups_per_dimension' value 65535 is better than allowed 0
but even when requested with limits::downlevel_webgl2_defaults
which should be compatible with GLES-3.0
i get errors:
Error in Adapter::request_device: Limit 'max_inter_stage_shader_components' value 60 is better than allowed 0
Why is this happening?
Is there any way i could create an emulator that is capable of running WebGPU?