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