|
@@ -14,7 +14,9 @@ class WebGPU {
|
|
|
|
|
|
static getErrorMessage() {
|
|
|
|
|
|
- const message = 'Your browser does not support <a href="https://gpuweb.github.io/gpuweb/" style="color:blue">WebGPU</a>';
|
|
|
+ let message = 'Your browser does not support <a href="https://gpuweb.github.io/gpuweb/" style="color:blue">WebGPU</a>';
|
|
|
+
|
|
|
+ if ( !! window.chrome ) message += '<br>Try: <b>chrome://flags/#enable-unsafe-webgpu</b>';
|
|
|
|
|
|
const element = document.createElement( 'div' );
|
|
|
element.id = 'webgpumessage';
|