React Native WebGPU

warnIfNotHardwareAccelerated

Log a warning when the GPU adapter is a software fallback.

Checks adapter.info.isFallbackAdapter and logs a console warning. Common on Android emulators where rendering may be slow or missing features.

Usage

useDevice and GPUDeviceProvider already call it for you. Call it yourself when you request the adapter directly:

const  = await ..();
if () {
  ();
  const  = await .();
}

This does not block rendering; it only logs. Test camera, native textures, and performance-critical paths on physical devices.

See also

On this page