mirror of
https://github.com/Rezmason/matrix.git
synced 2026-04-17 13:59: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:
@@ -26,7 +26,7 @@ export default ({ config, device }) => {
|
||||
|
||||
backgroundTex = bgTex;
|
||||
|
||||
computePipeline = device.createComputePipeline({
|
||||
computePipeline = await device.createComputePipelineAsync({
|
||||
layout: "auto",
|
||||
compute: {
|
||||
module: imageShader.module,
|
||||
@@ -61,5 +61,5 @@ export default ({ config, device }) => {
|
||||
computePass.end();
|
||||
};
|
||||
|
||||
return makePass(loaded, build, run);
|
||||
return makePass("Image", loaded, build, run);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user