Skip to content

Conversation

@cieplypolar
Copy link
Collaborator

@cieplypolar cieplypolar commented Dec 15, 2025

  • very naive implementation (just to experiment with wgslGenerator)
  • move validation to wgslGenerator
  • add support for vectors
  • add unit tests
  • add test example (rewrote some examples)

Closes #1971.

@github-actions
Copy link

github-actions bot commented Dec 15, 2025

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@cd6c19477ef390b1245da6ea746d3d086bad75d1
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@cd6c19477ef390b1245da6ea746d3d086bad75d1
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@cd6c19477ef390b1245da6ea746d3d086bad75d1

benchmark
view benchmark

commit
view commit

@cieplypolar cieplypolar changed the title [WIP] feat: for ... of ... loop support feat: for ... of ... loop support Dec 17, 2025
@cieplypolar cieplypolar marked this pull request as ready for review December 17, 2025 09:57
@cieplypolar cieplypolar requested review from aleksanderkatan, iwoplaza, lursz and reczkok and removed request for iwoplaza December 17, 2025 09:57
Copy link
Contributor

@aleksanderkatan aleksanderkatan left a comment

Choose a reason for hiding this comment

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

Great! 🧨🤘

Copy link
Collaborator

@iwoplaza iwoplaza left a comment

Choose a reason for hiding this comment

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

Awesome work! 👏

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.

feat: Support for (... of ...) loops

4 participants