Skip to content

Commit

Permalink
Ignore diagnostic() method in deno
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutefish0 committed Sep 28, 2024
1 parent 5e2fb5c commit 0acae94
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/renderers/webgpu/nodes/WGSLNodeBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1319,14 +1319,11 @@ fn main( ${shaderData.attributes} ) -> VaryingsStruct {
}

_getWGSLFragmentCode( shaderData ) {
const diagnostic = typeof Deno === 'object' ? '' : 'diagnostic( off, derivative_uniformity );';

return `${ this.getSignature() }
// global
${ diagnostics }
${diagnostic}
// uniforms
${shaderData.uniforms}
Expand Down

0 comments on commit 0acae94

Please sign in to comment.