Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
lint: Fix no-named-as-default
  • Loading branch information
DrJKL committed Nov 29, 2025
commit 458cee4a1c2c8a4c51f6e656c8a5165b35be347e
2 changes: 1 addition & 1 deletion src/composables/maskeditor/gpu/brushShaders.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import tgpu from 'typegpu'
import { tgpu } from 'typegpu'
import * as d from 'typegpu/data'
import { BrushUniforms } from './gpuSchema'

Expand Down
4 changes: 2 additions & 2 deletions src/composables/maskeditor/useBrushDrawing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { Brush, Point } from '@/extensions/core/maskeditor/types'
import { useMaskEditorStore } from '@/stores/maskEditorStore'
import { useCoordinateTransform } from './useCoordinateTransform'
import { resampleSegment } from './splineUtils'
import TGPU from 'typegpu'
import { tgpu } from 'typegpu'
import { GPUBrushRenderer } from './gpu/GPUBrushRenderer'
import { StrokeProcessor } from './StrokeProcessor'
import { getEffectiveBrushSize, getEffectiveHardness } from './brushUtils'
Expand Down Expand Up @@ -276,7 +276,7 @@ export function useBrushDrawing(initialSettings?: {
}

try {
const root = await TGPU.init()
const root = await tgpu.init()
store.tgpuRoot = root
device = root.device
console.warn('✅ TypeGPU initialized! Root:', root)
Expand Down