-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
APPLE: Fix for Issue #1749 #2089
Conversation
I'm not up to date on current architecture, but am curious, @jonny-apple , if this changes the size of the structure, when packed? If so, it would be great to see some memory numbers with large numbers of meshes? |
Very good point spiff, I'll run some numbers on the large stages that we have as test assets. |
Filed as internal issue #USD-7774 |
06dc01a
to
6545b94
Compare
@spiffmon , I've run a few variations of the field sizes in the Firstly, the original 8 bits per field Physical footprint: 4.7G Physical footprint: 4.8G Physical footprint: 4.6G Then 16 bits for Physical footprint: 4.7G Physical footprint: 4.6G Physical footprint: 4.6G Then 32 bits for Physical footprint: 4.8G Physical footprint: 4.8G It looks like this has a small impact on the overall memory size, but if there is a concern then 16 bits for these fields gives us enough headroom and shouldn't change the memory footprint. I'll amend the PR to use 16 bits. |
6545b94
to
ab4e9ec
Compare
Thanks so much, @jonny-apple - that seems like a good choice, for now. I'll note that we can double the value of our money by using |
And to be clear - this came from a real bug we found with importing OBJ files that we overflowed how many geom subsets we needed to create import the data to USD - so this isn’t academic - it was a weird bug we ran into!
… On Nov 19, 2022, at 5:03 PM, F. Sebastian (spiff) Grassia ***@***.***> wrote:
Thanks so much, @jonny-apple <https://github.com/jonny-apple> - that seems like a good choice, for now. I'll note that we can double the value of our money by using uint_16t for those two fields that we specifically want headroom with?
—
Reply to this email directly, view it on GitHub <#2089 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAM2AOQ532KCKBDLYNNBO6TWJF2G3ANCNFSM6AAAAAASACKY3Q>.
You are receiving this because you are subscribed to this thread.
|
7ba8e23
to
4105a15
Compare
8bf345a
to
1c0445c
Compare
APPLE: Fix for Issue #1749 (Internal change: 2256327)
1c0445c
to
bd80c98
Compare
Description of Change(s)
The _topology field in the drawingcoord was overflowing the 8-bit range for assets with a large number of geomsubsets. This has been promoted to a 32-bit value to avoid this.
The instancePrimvar field could also overflow, so this has been promoted to a 32 bit value too.
Fixes Issue(s)