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

Tweak formatting of reported values #82

Merged
merged 1 commit into from Feb 20, 2020

Conversation

krOoze
Copy link
Contributor

@krOoze krOoze commented Dec 15, 2019

  • update some Flags and Enums
  • show Flags consistently
    • shows hex at flag root
    • lists supported bits
    • lists unknown supported bits with a hex
  • show VID:PID in hex
  • show UUID in canonical form
  • show bool Limits as bool
  • fix sampled counts as VkSampleCountFlagBits #1: show samples as a list of supported counts
  • do not use Vk version format for revision numbers
  • fix Bool color in Queues tab
  • consistent array formatting
    • show array size as C notation
    • show index as C notation
  • some random cleanup

@SaschaWillems
Copy link
Owner

Thanks for your PR. I haven't had time to review it yet, but will try to do so as soon as possible.

One thing I noticed that some files, e.g. vulkancapsviewer.cpp is showing as completly different in the diff? Makes it a bit harder to review this pr.

@krOoze
Copy link
Contributor Author

krOoze commented Feb 18, 2020

@SaschaWillems Hm, maybe I accidentally switched the endlines. I will give it a look. Meanwhile GitHub will show the right thing if you check "Hide whitespace changes".

- update some Flags and Enums
- show Flags consistently
-- shows hex at flag root
-- lists supported bits
-- lists unknown supported bits with a hex
- show VID:PID in hex
- show UUID in canonical form
- show bool Limits as bool
- fix SaschaWillems#1: show samples as a list of supported counts
- do not use Vk version format for revision numbers
- fix Bool color in Queues tab
- consistent array formatting
-- show array size as C notation
-- show index as C notation
- some random cleanup
@krOoze
Copy link
Contributor Author

krOoze commented Feb 18, 2020

Fixed. Still not the shortest PR though.

@SaschaWillems
Copy link
Owner

Looks good so far. Works fine on both Windows and Android. Thanks for your effort :)

@SaschaWillems SaschaWillems merged commit 0dfdb92 into SaschaWillems:master Feb 20, 2020
@krOoze krOoze deleted the formatting branch February 20, 2020 13:28
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.

sampled counts as VkSampleCountFlagBits
2 participants