Skip to content

Commit

Permalink
remove defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Mar 11, 2024
1 parent fb55b62 commit 0fa0c0f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions sample/points/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,12 @@ const bindGroupLayout = device.createBindGroupLayout({
{
binding: 1,
visibility: GPUShaderStage.FRAGMENT,
sampler: {
type: 'filtering',
},
sampler: {},
},
{
binding: 2,
visibility: GPUShaderStage.FRAGMENT,
texture: {
sampleType: 'float',
viewDimension: '2d',
},
texture: {},
},
],
});
Expand Down Expand Up @@ -122,12 +117,10 @@ const pipelines = vertModules.map((vertModule) =>
color: {
srcFactor: 'one',
dstFactor: 'one-minus-src-alpha',
operation: 'add',
},
alpha: {
srcFactor: 'one',
dstFactor: 'one-minus-src-alpha',
operation: 'add',
},
},
},
Expand Down

0 comments on commit 0fa0c0f

Please sign in to comment.