Skip to content

Conversation

@mrk-its
Copy link
Member

@mrk-its mrk-its commented Nov 27, 2020

I've just noticed many compilations of the same pipeline (with the same specialization) - it seems it is because RenderResourceBindings.iter_dynamic_bindings() iterates HashMap (so order is nondeterministic) and we are storing result in Vec.

I noticed this bug on web app with bevy_webgl2 backend, but it seems native applications using wgpu renderer may be also affected.

@mrk-its mrk-its force-pushed the dynamic_bindings_fix branch from 89ad308 to d2c1856 Compare November 28, 2020 10:20
@Moxinilian Moxinilian added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen labels Nov 28, 2020
@cart
Copy link
Member

cart commented Nov 28, 2020

Good catch!

@cart cart merged commit dbf226b into bevyengine:master Nov 28, 2020
@fopsdev fopsdev mentioned this pull request Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants