@luma.gl/graph 10.0.0-alpha.11 → 10.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/LICENSE +4 -4
  2. package/THIRD-PARTY-NOTICES.md +19 -0
  3. package/dist/arrow/gpu/arrow-gpu-vector-adapters.cjs +6 -6
  4. package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts.map +1 -1
  5. package/dist/arrow/gpu/arrow-gpu-vector-adapters.js +16 -6
  6. package/dist/arrow/gpu/arrow-gpu-vector-adapters.js.map +1 -1
  7. package/dist/arrow/gpu/arrow-gpu-vector-conversion.cjs +3 -2
  8. package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts.map +1 -1
  9. package/dist/arrow/gpu/arrow-gpu-vector-conversion.js +3 -2
  10. package/dist/arrow/gpu/arrow-gpu-vector-conversion.js.map +1 -1
  11. package/dist/arrow/index.cjs.map +2 -2
  12. package/dist/arrow/internal.cjs.map +2 -2
  13. package/dist/dist.dev.js +2148 -454
  14. package/dist/dist.min.js +437 -123
  15. package/dist/experimental/index.cjs.map +1 -1
  16. package/dist/experimental/simulation/index.cjs.map +1 -1
  17. package/dist/gpu-core/compiled-gpu-graph.cjs +15 -0
  18. package/dist/gpu-core/compiled-gpu-graph.d.ts +1 -0
  19. package/dist/gpu-core/compiled-gpu-graph.d.ts.map +1 -1
  20. package/dist/gpu-core/compiled-gpu-graph.js +15 -0
  21. package/dist/gpu-core/compiled-gpu-graph.js.map +1 -1
  22. package/dist/gpu-core/gpu-command-graph.cjs +9 -0
  23. package/dist/gpu-core/gpu-command-graph.d.ts +2 -0
  24. package/dist/gpu-core/gpu-command-graph.d.ts.map +1 -1
  25. package/dist/gpu-core/gpu-command-graph.js +9 -0
  26. package/dist/gpu-core/gpu-command-graph.js.map +1 -1
  27. package/dist/gpu-core/gpu-expression-plan.cjs +4 -0
  28. package/dist/gpu-core/gpu-expression-plan.d.ts.map +1 -1
  29. package/dist/gpu-core/gpu-expression-plan.js +5 -0
  30. package/dist/gpu-core/gpu-expression-plan.js.map +1 -1
  31. package/dist/gpu-core/gpu-graph-compiler.cjs +48 -0
  32. package/dist/gpu-core/gpu-graph-compiler.d.ts +1 -0
  33. package/dist/gpu-core/gpu-graph-compiler.d.ts.map +1 -1
  34. package/dist/gpu-core/gpu-graph-compiler.js +50 -0
  35. package/dist/gpu-core/gpu-graph-compiler.js.map +1 -1
  36. package/dist/gpu-core/gpu-group-aggregation.cjs +7 -15
  37. package/dist/gpu-core/gpu-group-aggregation.d.ts.map +1 -1
  38. package/dist/gpu-core/gpu-group-aggregation.js +7 -18
  39. package/dist/gpu-core/gpu-group-aggregation.js.map +1 -1
  40. package/dist/gpu-core/gpu-reduction.cjs +6 -14
  41. package/dist/gpu-core/gpu-reduction.d.ts.map +1 -1
  42. package/dist/gpu-core/gpu-reduction.js +6 -15
  43. package/dist/gpu-core/gpu-reduction.js.map +1 -1
  44. package/dist/gpu-core/gpu-semantic-aggregation-operation.cjs +112 -0
  45. package/dist/gpu-core/gpu-semantic-aggregation-operation.d.ts +71 -0
  46. package/dist/gpu-core/gpu-semantic-aggregation-operation.d.ts.map +1 -0
  47. package/dist/gpu-core/gpu-semantic-aggregation-operation.js +92 -0
  48. package/dist/gpu-core/gpu-semantic-aggregation-operation.js.map +1 -0
  49. package/dist/gpu-core/gpu-shader-pass-kernel.cjs +267 -0
  50. package/dist/gpu-core/gpu-shader-pass-kernel.d.ts +29 -0
  51. package/dist/gpu-core/gpu-shader-pass-kernel.d.ts.map +1 -0
  52. package/dist/gpu-core/gpu-shader-pass-kernel.js +260 -0
  53. package/dist/gpu-core/gpu-shader-pass-kernel.js.map +1 -0
  54. package/dist/gpu-core/gpu-shader-pass-operation.cjs +85 -0
  55. package/dist/gpu-core/gpu-shader-pass-operation.d.ts +32 -0
  56. package/dist/gpu-core/gpu-shader-pass-operation.d.ts.map +1 -0
  57. package/dist/gpu-core/gpu-shader-pass-operation.js +74 -0
  58. package/dist/gpu-core/gpu-shader-pass-operation.js.map +1 -0
  59. package/dist/gpu-core/index.cjs +8 -0
  60. package/dist/gpu-core/index.cjs.map +3 -3
  61. package/dist/gpu-core/index.d.ts +4 -0
  62. package/dist/gpu-core/index.d.ts.map +1 -1
  63. package/dist/gpu-core/index.js +2 -0
  64. package/dist/gpu-core/index.js.map +1 -1
  65. package/dist/gpu-data/cpu-gpu-vector-transfer.cjs +7 -2
  66. package/dist/gpu-data/cpu-gpu-vector-transfer.d.ts.map +1 -1
  67. package/dist/gpu-data/cpu-gpu-vector-transfer.js +9 -6
  68. package/dist/gpu-data/cpu-gpu-vector-transfer.js.map +1 -1
  69. package/dist/gpu-data/gpu-data-buffer-props.cjs +41 -0
  70. package/dist/gpu-data/gpu-data-buffer-props.d.ts +5 -0
  71. package/dist/gpu-data/gpu-data-buffer-props.d.ts.map +1 -0
  72. package/dist/gpu-data/gpu-data-buffer-props.js +19 -0
  73. package/dist/gpu-data/gpu-data-buffer-props.js.map +1 -0
  74. package/dist/gpu-data/index.cjs.map +3 -3
  75. package/dist/gpu-dggs/benchmarks.cjs.map +1 -1
  76. package/dist/gpu-graph/index.cjs +5 -0
  77. package/dist/gpu-graph/index.cjs.map +3 -3
  78. package/dist/gpu-graph/index.d.ts +2 -0
  79. package/dist/gpu-graph/index.d.ts.map +1 -1
  80. package/dist/gpu-graph/index.js +1 -0
  81. package/dist/gpu-graph/index.js.map +1 -1
  82. package/dist/gpu-graph-algorithms/benchmarks.cjs.map +1 -1
  83. package/dist/gpu-graph-algorithms/index.cjs.map +1 -1
  84. package/dist/gpu-physics/index.cjs.map +1 -1
  85. package/dist/gpu-project/benchmarks.cjs.map +2 -2
  86. package/dist/gpu-project/crs.cjs.map +2 -2
  87. package/dist/gpu-project/graph.cjs.map +3 -3
  88. package/dist/gpu-project/index.cjs.map +2 -2
  89. package/dist/gpu-simple-graph/compiled-gpu-expression-graph.cjs +53 -5
  90. package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts +3 -1
  91. package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts.map +1 -1
  92. package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js +58 -5
  93. package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js.map +1 -1
  94. package/dist/gpu-simple-graph/index.cjs.map +3 -3
  95. package/dist/gpu-sql/gpu-sql.cjs +112 -100
  96. package/dist/gpu-sql/gpu-sql.d.ts +1 -1
  97. package/dist/gpu-sql/gpu-sql.d.ts.map +1 -1
  98. package/dist/gpu-sql/gpu-sql.js +120 -102
  99. package/dist/gpu-sql/gpu-sql.js.map +1 -1
  100. package/dist/gpu-sql/index.cjs.map +2 -2
  101. package/dist/gpu-tables/index.cjs.map +2 -2
  102. package/dist/gpu-tables/table/gpu-table.cjs +2 -2
  103. package/dist/gpu-tables/table/gpu-table.d.ts.map +1 -1
  104. package/dist/gpu-tables/table/gpu-table.js +2 -2
  105. package/dist/gpu-tables/table/gpu-table.js.map +1 -1
  106. package/dist/index.cjs +8 -0
  107. package/dist/index.cjs.map +3 -3
  108. package/dist/index.d.ts +4 -0
  109. package/dist/index.d.ts.map +1 -1
  110. package/dist/index.js +2 -0
  111. package/dist/index.js.map +1 -1
  112. package/package.json +10 -8
  113. package/src/arrow/gpu/arrow-gpu-vector-adapters.ts +17 -6
  114. package/src/arrow/gpu/arrow-gpu-vector-conversion.ts +3 -2
  115. package/src/gpu-core/compiled-gpu-graph.ts +18 -0
  116. package/src/gpu-core/gpu-command-graph.ts +10 -0
  117. package/src/gpu-core/gpu-expression-plan.ts +6 -0
  118. package/src/gpu-core/gpu-graph-compiler.ts +61 -0
  119. package/src/gpu-core/gpu-group-aggregation.ts +38 -50
  120. package/src/gpu-core/gpu-reduction.ts +32 -42
  121. package/src/gpu-core/gpu-semantic-aggregation-operation.ts +150 -0
  122. package/src/gpu-core/gpu-shader-pass-kernel.ts +307 -0
  123. package/src/gpu-core/gpu-shader-pass-operation.ts +103 -0
  124. package/src/gpu-core/index.ts +8 -0
  125. package/src/gpu-data/cpu-gpu-vector-transfer.ts +10 -7
  126. package/src/gpu-data/gpu-data-buffer-props.ts +25 -0
  127. package/src/gpu-graph/index.ts +9 -0
  128. package/src/gpu-simple-graph/compiled-gpu-expression-graph.ts +59 -5
  129. package/src/gpu-sql/gpu-sql.ts +130 -103
  130. package/src/gpu-tables/table/gpu-table.ts +2 -1
  131. package/src/index.ts +11 -0
@@ -0,0 +1,32 @@
1
+ import { type SamplerProps, type TextureFormatColor } from '@luma.gl/core';
2
+ import { type GPUGraphTextureDescriptor } from "./gpu-graph-value.js";
3
+ import type { GPUOperation } from "./gpu-operation.js";
4
+ import type { GPUOperationContract } from "./gpu-operation-contract.js";
5
+ export type GPUShaderPassOperationProps = {
6
+ id?: string;
7
+ /** WGSL defining fn shade(textureCoordinates: vec2<f32>) -> vec4<f32>. */
8
+ fragmentSource: string;
9
+ /** Shader texture binding names mapped to logical graph texture names. */
10
+ inputs: Readonly<Record<string, string>>;
11
+ /** Explicit, immutable color sampler descriptions, keyed by shader binding name. */
12
+ samplers?: Readonly<Record<string, SamplerProps>>;
13
+ /** Fields of the generated parameters uniform, mapped to graph scalar names. */
14
+ parameters?: Readonly<Record<string, string>>;
15
+ output: string;
16
+ /** Single-sampled 2D color result with an explicit fixed or inherited extent. */
17
+ outputDescriptor: GPUGraphTextureDescriptor<TextureFormatColor>;
18
+ };
19
+ /** One fullscreen WGSL draw, shared by GPUGraph and WebGPU SimpleGraph. */
20
+ export declare class GPUShaderPassOperation implements GPUOperation {
21
+ readonly type = "shader-pass";
22
+ readonly id: string;
23
+ readonly fragmentSource: string;
24
+ readonly inputs: Readonly<Record<string, string>>;
25
+ readonly samplers: Readonly<Record<string, Readonly<SamplerProps>>>;
26
+ readonly parameters: Readonly<Record<string, string>>;
27
+ readonly output: string;
28
+ readonly outputDescriptor: GPUGraphTextureDescriptor<TextureFormatColor>;
29
+ constructor(props: GPUShaderPassOperationProps);
30
+ get contract(): GPUOperationContract;
31
+ }
32
+ //# sourceMappingURL=gpu-shader-pass-operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gpu-shader-pass-operation.d.ts","sourceRoot":"","sources":["../../src/gpu-core/gpu-shader-pass-operation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAS,KAAK,YAAY,EAAE,KAAK,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACjF,OAAO,EAAW,KAAK,yBAAyB,EAAC,6BAA0B;AAC3E,OAAO,KAAK,EAAC,YAAY,EAAC,2BAAwB;AAClD,OAAO,KAAK,EAAC,oBAAoB,EAAC,oCAAiC;AAEnE,MAAM,MAAM,2BAA2B,GAAG;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0EAA0E;IAC1E,cAAc,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,oFAAoF;IACpF,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;IAClD,gFAAgF;IAChF,UAAU,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC9C,MAAM,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,gBAAgB,EAAE,yBAAyB,CAAC,kBAAkB,CAAC,CAAC;CACjE,CAAC;AAEF,2EAA2E;AAC3E,qBAAa,sBAAuB,YAAW,YAAY;IACzD,QAAQ,CAAC,IAAI,iBAAiB;IAC9B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACpE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,gBAAgB,EAAE,yBAAyB,CAAC,kBAAkB,CAAC,CAAC;gBAE7D,KAAK,EAAE,2BAA2B;IAyC9C,IAAI,QAAQ,IAAI,oBAAoB,CAyBnC;CACF"}
@@ -0,0 +1,74 @@
1
+ // luma.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
4
+ import { assert } from '@luma.gl/core';
5
+ import { gpuGraph } from "./gpu-graph-value.js";
6
+ /** One fullscreen WGSL draw, shared by GPUGraph and WebGPU SimpleGraph. */
7
+ export class GPUShaderPassOperation {
8
+ type = 'shader-pass';
9
+ id;
10
+ fragmentSource;
11
+ inputs;
12
+ samplers;
13
+ parameters;
14
+ output;
15
+ outputDescriptor;
16
+ constructor(props) {
17
+ this.id = props.id ?? `${props.output}-shader-pass`;
18
+ this.fragmentSource = props.fragmentSource;
19
+ this.inputs = Object.freeze({ ...props.inputs });
20
+ this.parameters = Object.freeze({ ...props.parameters });
21
+ this.samplers = Object.freeze(Object.fromEntries(Object.entries(props.samplers ?? {}).map(([name, sampler]) => [
22
+ name,
23
+ Object.freeze({ ...sampler })
24
+ ])));
25
+ this.output = props.output;
26
+ const descriptor = props.outputDescriptor;
27
+ // This operation writes one complete 2D color attachment, without mip generation or MSAA.
28
+ assert(descriptor.extent &&
29
+ (descriptor.dimension ?? '2d') === '2d' &&
30
+ (descriptor.mipLevels ?? 1) === 1 &&
31
+ (descriptor.samples ?? 1) === 1);
32
+ this.outputDescriptor = gpuGraph.texture({
33
+ ...descriptor,
34
+ dimension: '2d',
35
+ mipLevels: 1,
36
+ samples: 1
37
+ });
38
+ const bindings = [...Object.keys(this.inputs), ...Object.keys(this.samplers)];
39
+ // Binding names are WGSL identifiers; reserve the generated uniform and entry-point names.
40
+ assert(new Set(bindings).size === bindings.length);
41
+ for (const name of [...bindings, ...Object.keys(this.parameters)])
42
+ assert(/^[A-Za-z][A-Za-z0-9_]*$/.test(name) &&
43
+ !['parameters', 'shade', 'vertexMain', 'fragmentMain'].includes(name) &&
44
+ !name.startsWith('GraphShaderPass'));
45
+ for (const sampler of Object.values(this.samplers))
46
+ assert((sampler.type ?? 'color-sampler') === 'color-sampler');
47
+ }
48
+ get contract() {
49
+ return {
50
+ values: [
51
+ ...Object.values(this.inputs).map(value => ({
52
+ value,
53
+ access: 'read',
54
+ textureUsage: 'sampled'
55
+ })),
56
+ ...Object.values(this.parameters).map(value => ({ value, access: 'read' })),
57
+ { value: this.output, access: 'write', textureUsage: 'render-attachment' }
58
+ ],
59
+ outputs: ({ getValue }) => {
60
+ for (const name of Object.values(this.inputs)) {
61
+ const input = getValue(name);
62
+ // Texture views may select one layer of an array, but the logical input is 2D.
63
+ assert(input.type === 'texture' &&
64
+ (input.dimension ?? '2d') === '2d' &&
65
+ (input.samples ?? 1) === 1);
66
+ }
67
+ for (const name of Object.values(this.parameters))
68
+ assert(getValue(name).type === 'scalar');
69
+ return { [this.output]: this.outputDescriptor };
70
+ }
71
+ };
72
+ }
73
+ }
74
+ //# sourceMappingURL=gpu-shader-pass-operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gpu-shader-pass-operation.js","sourceRoot":"","sources":["../../src/gpu-core/gpu-shader-pass-operation.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EAAC,MAAM,EAA6C,MAAM,eAAe,CAAC;AACjF,OAAO,EAAC,QAAQ,EAAiC,6BAA0B;AAmB3E,2EAA2E;AAC3E,MAAM,OAAO,sBAAsB;IACxB,IAAI,GAAG,aAAa,CAAC;IACrB,EAAE,CAAS;IACX,cAAc,CAAS;IACvB,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C,CAAC,CAAC;gBAClF,EAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAC;aACzE;YACD,OAAO,EAAE,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;gBACtB,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;oBAC9C,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;oBAC7B,+EAA+E;oBAC/E,MAAM,CACJ,KAAK,CAAC,IAAI,KAAK,SAAS;wBACtB,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,IAAI;wBAClC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,KAAK,CAAC,CAC7B,CAAC;gBACJ,CAAC;gBACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;oBAAE,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;gBAC5F,OAAO,EAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,gBAAgB,EAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -56,6 +56,8 @@ __export(gpu_core_exports, {
56
56
  GPUGraphCSRMatrix: () => import_gpu_semantic_spmv.GPUGraphCSRMatrix,
57
57
  GPUGraphCompiler: () => import_gpu_graph_compiler.GPUGraphCompiler,
58
58
  GPUGraphDotProduct: () => import_gpu_semantic_vector_operation.GPUGraphDotProduct,
59
+ GPUGraphGroupAggregation: () => import_gpu_semantic_aggregation_operation.GPUGraphGroupAggregation,
60
+ GPUGraphReduction: () => import_gpu_semantic_aggregation_operation.GPUGraphReduction,
59
61
  GPUGraphScalar: () => import_gpu_graph_value.GPUGraphScalar,
60
62
  GPUGraphScalarLiteral: () => import_gpu_semantic_state_operation.GPUGraphScalarLiteral,
61
63
  GPUGraphScalarOperation: () => import_gpu_semantic_scalar_operation.GPUGraphScalarOperation,
@@ -100,6 +102,7 @@ __export(gpu_core_exports, {
100
102
  GPUSegmentedBVH: () => import_gpu_segmented_bvh.GPUSegmentedBVH,
101
103
  GPUSegmentedLayout: () => import_gpu_segmented_layout.GPUSegmentedLayout,
102
104
  GPUSegmentedSort: () => import_gpu_segmented_sort.GPUSegmentedSort,
105
+ GPUShaderPassOperation: () => import_gpu_shader_pass_operation.GPUShaderPassOperation,
103
106
  GPUSort: () => import_gpu_sort.GPUSort,
104
107
  GPUTextSelection: () => import_gpu_text_selection.GPUTextSelection,
105
108
  GPUTextureHistory: () => import_gpu_texture_history.GPUTextureHistory,
@@ -289,8 +292,10 @@ var import_gpu_expression_operation = require("./gpu-expression-operation.cjs");
289
292
  var import_compiled_gpu_graph = require("./compiled-gpu-graph.cjs");
290
293
  var import_gpu_graph_value2 = require("./gpu-graph-value.cjs");
291
294
  var import_gpu_transfer_operation = require("./gpu-transfer-operation.cjs");
295
+ var import_gpu_shader_pass_operation = require("./gpu-shader-pass-operation.cjs");
292
296
  var import_gpu_compaction_operation = require("./gpu-compaction-operation.cjs");
293
297
  var import_gpu_cpu_operation = require("./gpu-cpu-operation.cjs");
298
+ var import_gpu_semantic_aggregation_operation = require("./gpu-semantic-aggregation-operation.cjs");
294
299
  // Annotate the CommonJS export names for ESM import in node:
295
300
  0 && (module.exports = {
296
301
  CompiledGPUCommandGraph,
@@ -332,6 +337,8 @@ var import_gpu_cpu_operation = require("./gpu-cpu-operation.cjs");
332
337
  GPUGraphCSRMatrix,
333
338
  GPUGraphCompiler,
334
339
  GPUGraphDotProduct,
340
+ GPUGraphGroupAggregation,
341
+ GPUGraphReduction,
335
342
  GPUGraphScalar,
336
343
  GPUGraphScalarLiteral,
337
344
  GPUGraphScalarOperation,
@@ -376,6 +383,7 @@ var import_gpu_cpu_operation = require("./gpu-cpu-operation.cjs");
376
383
  GPUSegmentedBVH,
377
384
  GPUSegmentedLayout,
378
385
  GPUSegmentedSort,
386
+ GPUShaderPassOperation,
379
387
  GPUSort,
380
388
  GPUTextSelection,
381
389
  GPUTextureHistory,