Skip to content

Commit

Permalink
WebGPURenderer: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirox committed Sep 4, 2020
1 parent 19b506e commit 2519b47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/jsm/renderers/webgpu/WebGPURenderPipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ class WebGPURenderPipelines {

// vertex buffers

const geometry = object.geometry;

const attributes = geometry.attributes;
const vertexBuffers = [];

// Find "layout (location = num) in type name" in vertex shader
Expand All @@ -111,6 +108,7 @@ class WebGPURenderPipelines {

}

const geometry = object.geometry;
let indexFormat;

if ( object.isLine ) {
Expand Down

0 comments on commit 2519b47

Please sign in to comment.