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
fix for sync uniform group issue #6217
Conversation
Trolling mode on: is there any way we can cover it with a test? |
I agree with Ivan. Unit test this if we can |
if you make playground test, i'll make unit based on it. |
cool! make an example 👍 |
here ya go dude! busted: working: |
Good test.
Im making a test based on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's how its done. Basically, I copied parts of your playground and I check for boundTextures. It fails at current dev version.
Please remove |
Codecov Report
@@ Coverage Diff @@
## dev #6217 +/- ##
==========================================
+ Coverage 76.71% 76.73% +0.01%
==========================================
Files 202 202
Lines 10238 10238
==========================================
+ Hits 7854 7856 +2
+ Misses 2384 2382 -2
Continue to review full report at Codecov.
|
nice thanks man! |
Description of change
The introduction of syncData is to solves an issue where textures in uniform groups are not set correctly the texture count was always starting from 0 in each group. This needs to increment each time a texture is used no matter which group is being used.
Pre-Merge Checklist
npm run lint
)npm run test
)