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

Inconsistent display of binary numbers #213

Closed
JannikGM opened this issue Nov 1, 2021 · 1 comment
Closed

Inconsistent display of binary numbers #213

JannikGM opened this issue Nov 1, 2021 · 1 comment

Comments

@JannikGM
Copy link
Contributor

JannikGM commented Nov 1, 2021

I added binary numbers with the 0b prefix in https://github.com/BabylonJS/Spector.js/pull/212/files#r738361437

Only afterwards, I realized that the sidebar has a different format for representing binary numbers:

STENCIL_BACK_VALUE_MASK: 00000000000000000000000000001000
STENCIL_BACK_WRITEMASK: 00000000000000000000000000000000
[...]
STENCIL_VALUE_MASK: 00000000000000000000000000001000
STENCIL_WRITEMASK: 00000000000000000000000000000000

Strangely, these are even expanded to 32 bits, despite my STENCIL_BITS being only 8.

@sebavan
Copy link
Member

sebavan commented Jan 10, 2022

the format does not account for the current stencil size setup, agree it would be nice to add

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

No branches or pull requests

2 participants