Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed Dec 8, 2023
1 parent d817016 commit 299ae3a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,11 @@ g.test('pipeline_output_targets,blend')
] as const)
.expand('writeMask', function* (p) {
yield 0;
for (let i = 1; i <= p.componentCount; i++) {
yield (1 << i) - 1;
}
if (p.componentCount < 4) {
yield 0xf;
for (let i = 0; i < p.componentCount; i++) {
yield 1 << i;
}
// default full mask
yield 0xf;
})
)
.beforeAllSubcases(t => {
Expand Down

0 comments on commit 299ae3a

Please sign in to comment.