Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port fp64 module to UBO #2262

Merged
merged 6 commits into from
Sep 20, 2024
Merged

Port fp64 module to UBO #2262

merged 6 commits into from
Sep 20, 2024

Conversation

felixpalmer
Copy link
Collaborator

@felixpalmer felixpalmer commented Sep 19, 2024

For visgl/deck.gl#8997, once merged will also apply to 9.1-release to unblock visgl/deck.gl#9160

Change List

  • Copy across webgl1 implementation
  • Add UBO block
  • Use defaultUniforms instead of getUniforms
  • Types
  • Re-instate tests

Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big thanks for this @felixpalmer

@@ -93,7 +93,7 @@ export {pbrMaterial} from './modules/lighting/pbr-material/pbr-material';
// DEPRECATED - v8 legacy shader modules (non-uniform buffer)

// math libraries
export {fp64, fp64arithmetic} from './modules-webgl1/math/fp64/fp64';
// export {fp64, fp64arithmetic} from './modules-webgl1/math/fp64/fp64';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we cut instead? At least on master which is targeting 9.2

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in favour of removing all the old modules-webgl1 code & exports. I think it has all been ported

@ibgreen ibgreen merged commit c3776bb into master Sep 20, 2024
2 checks passed
@ibgreen ibgreen deleted the felix/fp64-ubo branch September 20, 2024 17:25
@felixpalmer
Copy link
Collaborator Author

@ibgreen FYI when cherry-picking into 9.1 I removed:

import './modules-webgl1/fp64/fp64-arithmetic-transform.spec';

from modules/shadertools/test/index.ts to match 9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants