Skip to content

Fix/apple silicon aov allocation - #16

Open
gripeyes wants to merge 6 commits into
OpenMoonRay:mainfrom
gripeyes:fix/apple-silicon-aov-allocation
Open

Fix/apple silicon aov allocation#16
gripeyes wants to merge 6 commits into
OpenMoonRay:mainfrom
gripeyes:fix/apple-silicon-aov-allocation

Conversation

@gripeyes

Copy link
Copy Markdown

Compatibility:

patch

Issues/Tickets:

OpenMoonRay/openmoonray#276
OpenMoonRay/openmoonray#272
#14

Release notes comment:

Fixed HdMoonray render-buffer and AOV allocation updates on Apple Silicon.

Comments for the reviewer:

This PR is stacked directly on the head of #14 (85e63fc), Rob’s hdm_10 branch. Once #14 merges into main, this PR will contain only the AOV allocation commit.

The existing allocation path initialized a buffer only when its data pointer was empty and forced beauty output to four channels. It did not reallocate when the requested dimensions or channel count changed.

This change:

  • uses the channel count requested by Hydra
  • reallocates when width, height or channel count changes
  • zero-initializes the resized buffer
  • refreshes the data pointer after allocation
  • marks film activity dirty so the updated buffer is resolved

This complements the Apple Silicon half-conversion fixes in OpenMoonRay/openmoonray#272. Those lower-level conversion changes remain separate.

Umbrella validation PR:
OpenMoonRay/openmoonray#276

Houdini 22 build notes:
https://github.com/gripeyes/openmoonray/blob/test/houdini22-clean-build/building/macOS/Houdini22_build_notes.md

Look or scene setup change:

No scene-setup change. This corrects render-buffer and AOV display output when their requested layout changes.

Special notes for production:

Attention/Reviewers:

@robwilson-dwa

AI Assisted Development:

Assisted-by: OpenAI Codex / GPT-5.6

Checklist:

  • Documentation has been updated.
  • Includes new unit tests.
  • Includes new RATS tests.

robwilson-dwa and others added 6 commits August 21, 2026 15:32
* WIP

* light instancing first version

* fix tests, update packages

* CR fixes

* another CR fix

* material/light linking

* move hats to usdrecord

* support hats tests in 2.0 mode

* renable subset light linking

* create MoonrayScene

* factor out Options from RenderDelegate

* fix and test MoonrayMeshLight

* tidy up class names

* clean up tokens

* motion blur changes

* minor fixes

* add back default light

* inputs: allowed on custom attrs

* version to 10.0

* added simplify paths option for testing

* fix crash on exit

* add RenderSettings support

* remove stray debug print

* HDM-408 : changes from OMR PR#8

* fix instancing issue, add option to limit geom tess

* fix inst selection, remove nested inst selection

* add back nested inst selection

* [skip ci] Bumped minor version for the release.

* factor out scene_rdl2 specifics

* clean up render outputs

* scene_rdl2 cleanup

* [skip ci] Bumped minor version for the release.

* fix compile error for usd 0.25.11

* [skip ci] Bumped minor version for the release.

* terminal proxies (disabled)

* disable build for usd<0.25.5

---------

Co-authored-by: Rob Wilson <rwilson@dreamworks.com>
Co-authored-by: 206531218_nbcuni <toshi.kato@dreamworks.com>
Co-authored-by: 206676206_nbcuni <Dan.McCann@dreamworks.com>
Co-authored-by: 206689199_nbcuni <Ashley.Lee@dreamworks.com>
Signed-off-by: Rob Wilson <rwilson@dreamworks.com>
Signed-off-by: Rob Wilson <rob.wilson@dreamworks.com>
Signed-off-by: Rob Wilson <rwilson@dreamworks.com>
Signed-off-by: Rob Wilson <rob.wilson@dreamworks.com>
Signed-off-by: Rob Wilson <rwilson@dreamworks.com>
Signed-off-by: Rob Wilson <rob.wilson@dreamworks.com>
Signed-off-by: Rob Wilson <rwilson@dreamworks.com>
Signed-off-by: Rob Wilson <rob.wilson@dreamworks.com>
Signed-off-by: Rob Wilson <rwilson@dreamworks.com>
Signed-off-by: Rob Wilson <rob.wilson@dreamworks.com>
Signed-off-by: Jakub Svoboda <132791205+rolledhand@users.noreply.github.com>
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.

2 participants