Skip to content

Commit

Permalink
Fix build on main after tgsl poc merge (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhawryluk authored Sep 11, 2024
1 parent a78f263 commit 68caf02
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 127 deletions.
122 changes: 0 additions & 122 deletions apps/typegpu-docs/src/content/examples/simple/gradient-tiles-tgsl.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ const fragWGSL = wgsl`
`;

let drawCanvasData = new Uint32Array(options.size * options.size);
let commandEncoder: GPUCommandEncoder;

let msSinceLastTick = 0;
let render: () => void;
Expand Down Expand Up @@ -362,9 +361,6 @@ function resetGameData() {

runtime.writeBuffer(sizeBuffer, vec2u(options.size, options.size));

const length = options.size * options.size;
const cells = new Uint32Array(length);

render = () => {
const view = context.getCurrentTexture().createView();

Expand Down
1 change: 0 additions & 1 deletion apps/typegpu-docs/vite-import-raw-redirect-plugin.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-check
import { readFile } from 'node:fs/promises';
import { mapValues, values } from 'remeda';

Expand Down

0 comments on commit 68caf02

Please sign in to comment.