From cf0f3803a068e6175b041651a9cb6b04c321b93a Mon Sep 17 00:00:00 2001 From: Mehmet Oguz Derin Date: Thu, 28 Mar 2024 02:26:46 +0900 Subject: [PATCH] Use sampleCount with Render Pipeline (#409) --- sample/helloTriangleMSAA/main.ts | 2 +- sample/resizeCanvas/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sample/helloTriangleMSAA/main.ts b/sample/helloTriangleMSAA/main.ts index aac0117c..115baabc 100644 --- a/sample/helloTriangleMSAA/main.ts +++ b/sample/helloTriangleMSAA/main.ts @@ -41,7 +41,7 @@ const pipeline = device.createRenderPipeline({ topology: 'triangle-list', }, multisample: { - count: 4, + count: sampleCount, }, }); diff --git a/sample/resizeCanvas/main.ts b/sample/resizeCanvas/main.ts index 94d39331..1a16144e 100644 --- a/sample/resizeCanvas/main.ts +++ b/sample/resizeCanvas/main.ts @@ -42,7 +42,7 @@ const pipeline = device.createRenderPipeline({ topology: 'triangle-list', }, multisample: { - count: 4, + count: sampleCount, }, });