const makeRenderPipelineAsync: (
device: GPUDevice,
vertexShader: ShaderModuleDescriptor,
fragmentShader: ShaderModuleDescriptor | null,
colorStates: GPUColorTargetState[],
depthStencilState: GPUDepthStencilState | undefined,
samples: number,
descriptor?: Update<GPURenderPipelineDescriptor>,
layout?: GPUPipelineLayout,
) => Promise<GPURenderPipeline>
packages / core / src / pipeline.ts