mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-18 14:19:30 -07:00
Adding named debug groups to the WebGPU passes, and switching the pipeline create calls to the async methods
This commit is contained in:
@@ -65,7 +65,8 @@ export default ({ config, device, timeBuffer }) => {
|
||||
const loaded = (async () => {
|
||||
const [stripeShader] = await Promise.all(assets);
|
||||
|
||||
computePipeline = device.createComputePipeline({
|
||||
computePipeline = await device.createComputePipelineAsync({
|
||||
layout: "auto",
|
||||
compute: {
|
||||
module: stripeShader.module,
|
||||
entryPoint: "computeMain",
|
||||
@@ -110,5 +111,5 @@ export default ({ config, device, timeBuffer }) => {
|
||||
computePass.end();
|
||||
};
|
||||
|
||||
return makePass(loaded, build, run);
|
||||
return makePass("Stripe", loaded, build, run);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user