Skip to content

Commit d16118f

Browse files
committed
fix: Pass tests - place vtkWebGPUOrderIndependentTranslucentPass into public API
1 parent 9b4868e commit d16118f

File tree

2 files changed

+267
-265
lines changed
  • Sources/Rendering/WebGPU

2 files changed

+267
-265
lines changed

Sources/Rendering/WebGPU/OpaquePass/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ function vtkWebGPUOpaquePass(publicAPI, model) {
2222
model._currentParent = viewNode;
2323

2424
const device = viewNode.getDevice();
25-
const sampleCount = viewNode.getSampleCount
26-
? viewNode.getSampleCount()
27-
: 1;
25+
const sampleCount = viewNode.getSampleCount ? viewNode.getSampleCount() : 1;
2826

2927
// If sampleCount changed since last render, tear down and recreate
3028
if (model.renderEncoder && model._currentSampleCount !== sampleCount) {

0 commit comments

Comments
 (0)