Spaces:
Running
Running
create devices & shaders
Browse files- index.js +2 -0
- wgpu-devices.js +1 -0
- wgpu-shaders.js +1 -0
index.js
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import { mat4 } from 'https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js';
|
2 |
import { fetchShaderCode, generateGlyphTextureAtlas, createTextureFromSource } from './wgpu-utility.js';
|
3 |
import { config } from './wgpu-config.js';
|
|
|
1 |
+
// index.js
|
2 |
+
|
3 |
import { mat4 } from 'https://webgpufundamentals.org/3rdparty/wgpu-matrix.module.js';
|
4 |
import { fetchShaderCode, generateGlyphTextureAtlas, createTextureFromSource } from './wgpu-utility.js';
|
5 |
import { config } from './wgpu-config.js';
|
wgpu-devices.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
// wgpu-devices.js
|
wgpu-shaders.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
// wgpu-shaders.js
|