Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Nov 9, 2023
1 parent f7978db commit b1931e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sample/computeBoids/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const init: SampleInit = async ({ canvas, pageState, gui }) => {
},
});

const renderPassDescriptor = {
const renderPassDescriptor: GPURenderPassDescriptor = {
colorAttachments: [
{
view: undefined as GPUTextureView, // Assigned later
Expand All @@ -117,7 +117,7 @@ const init: SampleInit = async ({ canvas, pageState, gui }) => {
],
};

const computePassDescriptor = {};
const computePassDescriptor: GPUComputePassDescriptor = {};

let querySet: GPUQuerySet | undefined = undefined;
if (hasTimestampQuery) {
Expand Down

0 comments on commit b1931e2

Please sign in to comment.