Skip to content

Commit

Permalink
Resolving circular dependency issues with import changes (import type…
Browse files Browse the repository at this point in the history
… mostly), see phetsims/chipper#1550
  • Loading branch information
jonathanolson committed Dec 18, 2024
1 parent d6df6f5 commit 7e69cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export { default as ParallelRaster } from './parallel/raster-clip/ParallelRaster
export { default as WGSLString, WGSLStringLiteral, WGSLStringFunction, WGSLStringAccumulator, WGSLModule, WGSLMainModule, WGSLReferenceModule, WGSLStringModule, WGSLSlot, wgslString, wgslFunction, wgslBlueprint, wgsl, decimalS, u32S, u32HexS, i32S, i32HexS, f32S, wgslJoin, wgslMapJoin, wgslOneLine, wgslWith } from './webgpu/wgsl/WGSLString.js';
export type { WGSLExpression, WGSLExpressionU32, WGSLExpressionI32, WGSLExpressionF32, WGSLExpressionBool, WGSLExpressionT, WGSLStatements, WGSLModuleDeclarations, WGSLVariableName, WGSLType, WGSLBinaryExpression } from './webgpu/wgsl/WGSLString.js';

export { default as WebGPURecorder, WebGPUCommand } from './webgpu/WebGPURecorder.js';
export { default as WebGPURecorder, WebGPUCommand, WebGPUCommandList } from './webgpu/WebGPURecorder.js';
export { default as WebGPUAPI, webgpu } from './webgpu/WebGPUAPI.js';
export type { PreferredCanvasFormat } from './webgpu/WebGPUAPI.js';
export { default as DeviceContext } from './webgpu/compute/DeviceContext.js';
Expand Down
3 changes: 1 addition & 2 deletions js/webgpu/WebGPUAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* @author Jonathan Olson <[email protected]>
*/

import { alpenglow, WebGPURecorder } from '../imports.js';
import { WebGPUCommandList } from './WebGPURecorder.js';
import { alpenglow, WebGPURecorder, WebGPUCommandList } from '../imports.js';

export type PreferredCanvasFormat = 'bgra8unorm' | 'rgba8unorm';

Expand Down

0 comments on commit 7e69cbc

Please sign in to comment.