Skip to content

Commit

Permalink
test-index
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen committed Sep 26, 2024
1 parent d0a4724 commit 3c61061
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
7 changes: 2 additions & 5 deletions docs/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,16 @@ luma.gl largely follows [SEMVER](https://semver.org) conventions. Breaking chang
v9.2 brings full WebGPU support. Some additional deprecations and breaking changes have been necessary, but apart from the `Texture` -> `AsyncTexture` split, impact on most applications should be minimal.

**Major change: Texture and AsyncTextures**
- `device.createTexture()` no longer accepts `props.data`: Use `AsyncTexture` or call `texture.setImageData()`
- `device.createTexture()` no longer accepts `props.mipmaps`: Use `AsyncTexture` or call texture.generateMipmapsWebGL()`
- `device.createTexture()` no longer accepts `props.mipmaps`: Use `AsyncTexture` or call `texture.generateMipmapsWebGL()`

**Major change: Removal of WebGL uniform support**
- `core`: `Renderpipeline.setUniformsWebGL()` dropped, use uniform buffer bindings
- `engine`: `Model.setUniformsWebGL()` dropped, use uniform buffer bindings
- `shadertools`: WebGL1 shader modules have been removed, use the new modules uniform buffer-based counterparts.

**Minor changes**
- The shader type system has been refactored, some shader type names have changed. These are typically not used directly by applications.

**Minor changes**
- The shader type system has been refactored, some shader type names have changed. These are typically not used directly by applications.
- `core`: The shader type system has been refactored, some shader type names have changed. These are typically not used directly by applications.

## Upgrading to v9.1

Expand Down
15 changes: 2 additions & 13 deletions modules/shadertools/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,11 @@ import './modules/modules.spec';
import './modules/utils/random.spec';

// Lighting
import './modules/lighting/dirlight.spec';
// import './modules/lights/lights.spec';
import './modules/lighting/dirlight.spec';
import './modules/lighting/phong-material.spec';
import './modules/lighting/gouraud-material.spec';
// import './modules/lighting/pbr-material.spec';

// Engine
import './modules/engine/picking.spec';

// Tests for V8 shader modules

// Math modules
// TODO - these are breaking in test-browser but not in test-headless??
// import './modules-webgl1/fp64/fp64-arithmetic-transform.spec';

// Light and picking
// import './modules-webgl1/dirlight/dirlight.spec';
import './modules-webgl1/lights/lights.spec';
// import './modules-webgl1/phong-lighting/phong-lighting.spec';
// import './modules-webgl1/picking/picking.spec';

0 comments on commit 3c61061

Please sign in to comment.