Updating WebGPU project to satisfy Chrome Canary

This commit is contained in:
Rezmason
2022-08-07 19:17:22 -07:00
parent 7bed65b479
commit a0c1f22fd1
14 changed files with 40 additions and 36 deletions

View File

@@ -94,6 +94,7 @@ export default ({ config, device, timeBuffer }) => {
const [paletteShader] = await Promise.all(assets);
computePipeline = device.createComputePipeline({
layout: "auto",
compute: {
module: paletteShader.module,
entryPoint: "computeMain",