Skip to content

Fixed comparison of narrow type with wide type in loop condition#45

Open
SergioRZMasson wants to merge 1 commit intoBabylonJS:masterfrom
SergioRZMasson:fix-static-analysis
Open

Fixed comparison of narrow type with wide type in loop condition#45
SergioRZMasson wants to merge 1 commit intoBabylonJS:masterfrom
SergioRZMasson:fix-static-analysis

Conversation

@SergioRZMasson
Copy link

Fixed comparison of narrow type with wide type in loop condition. Uint8_t been compared to Uint32_t inside a loop could lead to infinite loop. We should assert that maxComputeBindings and maxTextureSamplers can fit into an uin8_t since all code assumes that's true.

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.

1 participant