Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/webgpu/src/Context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ export class Context
vertex_count,
bind_group,
uniform_offset,
this.currentRenderTarget,
this.currentRenderTarget !== null,
use_stencil_pipeline,
clipLevel
);
Expand Down Expand Up @@ -1299,7 +1299,7 @@ export class Context
const useStencilPipeline = useMainStencil;

// アトラスへの描画かどうか
const useAtlasTarget = this.currentRenderTarget;
const useAtlasTarget = this.currentRenderTarget !== null;

const lutTexture = contextGradientFillUseCase(
this.device,
Expand Down Expand Up @@ -1384,7 +1384,7 @@ export class Context
smooth,
this.viewportWidth,
this.viewportHeight,
this.currentRenderTarget,
this.currentRenderTarget !== null,
!!useStencilPipeline,
clipLevel
);
Expand Down Expand Up @@ -1451,7 +1451,7 @@ export class Context
focal,
this.viewportWidth,
this.viewportHeight,
this.currentRenderTarget,
this.currentRenderTarget !== null,
useStencilPipeline
);

Expand Down Expand Up @@ -1517,7 +1517,7 @@ export class Context
smooth,
this.viewportWidth,
this.viewportHeight,
this.currentRenderTarget,
this.currentRenderTarget !== null,
useStencilPipeline
);

Expand Down
Loading