mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 14:19:30 -07:00
Updating WebGPU project to satisfy Chrome Canary
This commit is contained in:
@@ -104,6 +104,7 @@ export default ({ config, device, timeBuffer }) => {
|
||||
sceneBuffer = makeUniformBuffer(device, sceneUniforms);
|
||||
|
||||
computePipeline = device.createComputePipeline({
|
||||
layout: "auto",
|
||||
compute: {
|
||||
module: rainShader.module,
|
||||
entryPoint: "computeMain",
|
||||
@@ -117,6 +118,7 @@ export default ({ config, device, timeBuffer }) => {
|
||||
};
|
||||
|
||||
renderPipeline = device.createRenderPipeline({
|
||||
layout: "auto",
|
||||
vertex: {
|
||||
module: rainShader.module,
|
||||
entryPoint: "vertMain",
|
||||
|
||||
Reference in New Issue
Block a user