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

ShadingEngine : Support 64 bit ints in RendererServices::get_userdata() #6117

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

johnhaddon
Copy link
Member

This requires ImageEngine/cortex#1439 to work.

@johnhaddon johnhaddon self-assigned this Oct 29, 2024
Copy link
Contributor

@danieldresser-ie danieldresser-ie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Changes.md Outdated
@@ -5,6 +5,7 @@ Fixes
-----

- CyclesShader : Fixed broken presets menus.
- OSLObject : Fixed `getattribute()` to support 64 bit integer data, such as an `instanceId` primitive variable loaded from USD.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be mentioning here that it is "supported" via truncation? This kind of makes it sound like you could read all 64 bits?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point - I've added a note to that effect in the latest push.

@danieldresser-ie
Copy link
Contributor

LGTM, once the Cortex change is available.

@johnhaddon
Copy link
Member Author

Pushed a commit to add the Cortex update.

@johnhaddon johnhaddon merged commit 0e3ec4a into GafferHQ:1.5_maintenance Nov 21, 2024
5 checks passed
@johnhaddon johnhaddon deleted the shadingEngineInt64 branch December 10, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending release
Development

Successfully merging this pull request may close these issues.

2 participants