Skip to content

Commit

Permalink
Use sampleCount with Render Pipeline (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetoguzderin authored Mar 27, 2024
1 parent 7830516 commit cf0f380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample/helloTriangleMSAA/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const pipeline = device.createRenderPipeline({
topology: 'triangle-list',
},
multisample: {
count: 4,
count: sampleCount,
},
});

Expand Down
2 changes: 1 addition & 1 deletion sample/resizeCanvas/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const pipeline = device.createRenderPipeline({
topology: 'triangle-list',
},
multisample: {
count: 4,
count: sampleCount,
},
});

Expand Down

0 comments on commit cf0f380

Please sign in to comment.