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

@@ -75,6 +75,7 @@ export default ({ config, device }) => {
const [blurShader, combineShader] = await Promise.all(assets);
blurPipeline = device.createComputePipeline({
layout: "auto",
compute: {
module: blurShader.module,
entryPoint: "computeMain",
@@ -82,6 +83,7 @@ export default ({ config, device }) => {
});
combinePipeline = device.createComputePipeline({
layout: "auto",
compute: {
module: combineShader.module,
entryPoint: "computeMain",