Skip to content

Commit ae35011

Browse files
mvaligurskyMartin Valigursky
andauthored
Reorganized folders for chunks and their collections (#7695)
* Reorganized folders for chunks and their collections * fre more paths fixed --------- Co-authored-by: Martin Valigursky <[email protected]>
1 parent b1b8ccb commit ae35011

File tree

451 files changed

+903
-903
lines changed

Some content is hidden

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

451 files changed

+903
-903
lines changed

src/extras/render-passes/render-pass-coc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../
22
import { PROJECTION_ORTHOGRAPHIC } from '../../scene/constants.js';
33
import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-quad.js';
44
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
5-
import glslCocPS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/coc.js';
6-
import wgslCocPS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/coc.js';
5+
import glslCocPS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/coc.js';
6+
import wgslCocPS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/coc.js';
77
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
88

99
/**

src/extras/render-passes/render-pass-compose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { GAMMA_NONE, GAMMA_SRGB, gammaNames, TONEMAP_LINEAR, tonemapNames } from
55
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
66
import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL } from '../../platform/graphics/constants.js';
77
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
8-
import glslComposePS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/compose.js';
8+
import glslComposePS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/compose.js';
99

1010
/**
1111
* Render pass implementation of the final post-processing composition.

src/extras/render-passes/render-pass-depth-aware-blur.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../../platform/graphics/constants.js';
22
import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-quad.js';
33
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
4-
import glslDepthAwareBlurPS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/depthAwareBlur.js';
5-
import wgslDepthAwareBlurPS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/depthAwareBlur.js';
4+
import glslDepthAwareBlurPS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/depthAwareBlur.js';
5+
import wgslDepthAwareBlurPS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/depthAwareBlur.js';
66
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
77

88
/**

src/extras/render-passes/render-pass-dof-blur.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Kernel } from '../../core/math/kernel.js';
22
import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../../platform/graphics/constants.js';
33
import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-quad.js';
4-
import glsldofBlurPS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/dofBlur.js';
5-
import wgsldofBlurPS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/dofBlur.js';
4+
import glsldofBlurPS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/dofBlur.js';
5+
import wgsldofBlurPS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/dofBlur.js';
66
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
77
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
88

src/extras/render-passes/render-pass-downsample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../../platform/graphics/constants.js';
22
import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-quad.js';
33
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
4-
import glslDownsamplePS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/downsample.js';
5-
import wgslDownsamplePS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/downsample.js';
4+
import glslDownsamplePS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/downsample.js';
5+
import wgslDownsamplePS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/downsample.js';
66
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
77

88
/**

src/extras/render-passes/render-pass-ssao.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-qu
1010
import { RenderPassDepthAwareBlur } from './render-pass-depth-aware-blur.js';
1111
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
1212
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
13-
import glslSsaoPS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/ssao.js';
14-
import wgslSsaoPS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/ssao.js';
13+
import glslSsaoPS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/ssao.js';
14+
import wgslSsaoPS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/ssao.js';
1515

1616
/**
1717
* Render pass implementation of Screen-Space Ambient Occlusion (SSAO) based on the non-linear depth

src/extras/render-passes/render-pass-taa.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-qu
1010
import { RenderTarget } from '../../platform/graphics/render-target.js';
1111
import { PROJECTION_ORTHOGRAPHIC } from '../../scene/constants.js';
1212
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
13-
import glslSampleCatmullRomPS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/sampleCatmullRom.js';
14-
import wgslSampleCatmullRomPS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/sampleCatmullRom.js';
15-
import glsltaaResolvePS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/taaResolve.js';
16-
import wgsltaaResolvePS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/taaResolve.js';
13+
import glslSampleCatmullRomPS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/sampleCatmullRom.js';
14+
import wgslSampleCatmullRomPS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/sampleCatmullRom.js';
15+
import glsltaaResolvePS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/taaResolve.js';
16+
import wgsltaaResolvePS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/taaResolve.js';
1717
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
1818

1919
/**

src/extras/render-passes/render-pass-upsample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { SEMANTIC_POSITION, SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../../platform/graphics/constants.js';
22
import { RenderPassShaderQuad } from '../../scene/graphics/render-pass-shader-quad.js';
33
import { ShaderUtils } from '../../scene/shader-lib/shader-utils.js';
4-
import glslUpsamplePS from '../../scene/shader-lib/chunks-glsl/render-pass/frag/upsample.js';
5-
import wgslUpsamplePS from '../../scene/shader-lib/chunks-wgsl/render-pass/frag/upsample.js';
4+
import glslUpsamplePS from '../../scene/shader-lib/glsl/chunks/render-pass/frag/upsample.js';
5+
import wgslUpsamplePS from '../../scene/shader-lib/wgsl/chunks/render-pass/frag/upsample.js';
66
import { ShaderChunks } from '../../scene/shader-lib/shader-chunks.js';
77

88
/**

src/framework/app-base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ import { SceneRegistry } from './scene-registry.js';
5454
import { script } from './script.js';
5555
import { ApplicationStats } from './stats.js';
5656
import { getApplication, setApplication } from './globals.js';
57-
import { shaderChunksGLSL } from '../scene/shader-lib/collections/shader-chunks-glsl.js';
58-
import { shaderChunksWGSL } from '../scene/shader-lib/collections/shader-chunks-wgsl.js';
57+
import { shaderChunksGLSL } from '../scene/shader-lib/glsl/collections/shader-chunks-glsl.js';
58+
import { shaderChunksWGSL } from '../scene/shader-lib/wgsl/collections/shader-chunks-wgsl.js';
5959
import { ShaderChunks } from '../scene/shader-lib/shader-chunks.js';
6060

6161
/**

src/framework/components/particle-system/system.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Asset } from '../../asset/asset.js';
55
import { ComponentSystem } from '../system.js';
66
import { ParticleSystemComponent } from './component.js';
77
import { ParticleSystemComponentData } from './data.js';
8-
import { particleChunksGLSL } from '../../../scene/shader-lib/collections/particle-chunks-glsl.js';
9-
import { particleChunksWGSL } from '../../../scene/shader-lib/collections/particle-chunks-wgsl.js';
8+
import { particleChunksGLSL } from '../../../scene/shader-lib/glsl/collections/particle-chunks-glsl.js';
9+
import { particleChunksWGSL } from '../../../scene/shader-lib/wgsl/collections/particle-chunks-wgsl.js';
1010
import { SHADERLANGUAGE_GLSL, SHADERLANGUAGE_WGSL } from '../../../platform/graphics/constants.js';
1111
import { ShaderChunks } from '../../../scene/shader-lib/shader-chunks.js';
1212

0 commit comments

Comments
 (0)