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 ({ device, canvasFormat, canvasContext }) => {
|
||||
const loaded = (async () => {
|
||||
const [imageShader] = await Promise.all(assets);
|
||||
|
||||
renderPipeline = device.createRenderPipeline({
|
||||
renderPipeline = await device.createRenderPipelineAsync({
|
||||
layout: "auto",
|
||||
vertex: {
|
||||
module: imageShader.module,
|
||||
@@ -58,5 +58,5 @@ export default ({ device, canvasFormat, canvasContext }) => {
|
||||
renderPass.end();
|
||||
};
|
||||
|
||||
return makePass(loaded, build, run);
|
||||
return makePass("End", loaded, build, run);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user