Skip to content

Commit c66ea02

Browse files
committed
Move things around...
1 parent 420b2e0 commit c66ea02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+51
-42
lines changed
File renamed without changes.

src/spirv/imi.ts renamed to imi/index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { Type, TypeInt, TypeStruct } from './types'
2-
import { CompiledModule } from './compilation'
3-
import dontKnow from '../dontKnow'
4-
import { DescriptorSet, Binding } from './annotations'
5-
import { VertexInputs } from '../KQueue'
6-
import { KBindGroup } from '../bindGroups'
1+
import { Type, TypeInt, TypeStruct } from '../spirv/types'
2+
import { CompiledModule } from '../spirv/compilation'
3+
import dontKnow from './dontKnow'
4+
import { DescriptorSet, Binding } from '../spirv/annotations'
5+
import { VertexInputs } from '../webgpu/KQueue'
76

87
type ImiId = number
98

src/spirv/addition.ts renamed to spirv/addition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CompilationState, CompiledModule } from './compilation'
22
import { Execution } from './execution'
3-
import dontKnow from '../dontKnow'
3+
import dontKnow from './dontKnow'
44
import { TypeVector, TypeFloat } from './types'
55
import { Pointer, Memory } from './memory'
66

src/spirv/annotations.ts renamed to spirv/annotations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CompilationState, CompiledModule } from './compilation'
2-
import dontKnow from '../dontKnow'
2+
import dontKnow from './dontKnow'
33

44
interface Decoration {
55

src/spirv/compilation.ts renamed to spirv/compilation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { compile as vectorsCompile } from './vectors'
1313
import { compile as additionCompile } from './addition'
1414
import compiler from './compiler'
1515
import './images/'
16-
import { ImiOp } from './imi'
16+
import { ImiOp } from '../imi'
1717

1818
export type CodeStream = Uint32Array
1919

File renamed without changes.
File renamed without changes.

src/spirv/constants.ts renamed to spirv/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { CompilationState, CompiledModule } from './compilation'
22
import { Execution } from './execution'
33
import { Type } from './types'
4-
import dontKnow from '../dontKnow'
4+
import dontKnow from './dontKnow'
55
import { ConstantComposite } from './memory'
6-
import { ImiNumber, ImiGet, ImiCreateVariable, ImiPut, ImiPointerWrite } from './imi'
6+
import { ImiNumber, ImiGet, ImiCreateVariable, ImiPut, ImiPointerWrite } from '../imi'
77

88
export function compile (state: CompilationState, module: CompiledModule) {
99
switch (state.opCode) {

src/spirv/controlFlow.ts renamed to spirv/controlFlow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { CompilationState, CompiledModule } from './compilation'
22
import { Execution } from './execution'
3-
import { ImiReturn } from './imi'
3+
import { ImiReturn } from '../imi'
44

55
export function compile (state: CompilationState, module: CompiledModule) {
66
switch (state.opCode) {
File renamed without changes.

0 commit comments

Comments
 (0)