Skip to content

Commit

Permalink
WebGPURenderer: Ignore diagnostic() method in Deno (#29522)
Browse files Browse the repository at this point in the history
* Ignore `diagnostic()` method in deno

* fix deno webgpu diagnostic

* Ignore `diagnostic()` method in deno
  • Loading branch information
Mutefish0 authored Sep 30, 2024
1 parent 7ede9aa commit fb5406d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgpu/nodes/WGSLNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ if ( /Windows/g.test( navigator.userAgent ) ) {

let diagnostics = '';

if ( /Firefox/g.test( navigator.userAgent ) !== true ) {
if ( /Firefox|Deno/g.test( navigator.userAgent ) !== true ) {

diagnostics += 'diagnostic( off, derivative_uniformity );\n';

Expand Down

0 comments on commit fb5406d

Please sign in to comment.