Skip to content

Commit

Permalink
WebGPU: Remove GPUShaderStage hack. (#29933)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Nov 20, 2024
1 parent 0a868ea commit 8842ee0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions examples/jsm/capabilities/WebGPU.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
if ( self.GPUShaderStage === undefined ) {

self.GPUShaderStage = { VERTEX: 1, FRAGMENT: 2, COMPUTE: 4 };

}

// statics

let isAvailable = navigator.gpu !== undefined;


Expand Down

0 comments on commit 8842ee0

Please sign in to comment.