-
Notifications
You must be signed in to change notification settings - Fork 14
HYDRA-2274 : more fixes for usd 26.05 unit tests #461
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ce53760
HYDRA-2274 : more fixes for usd 26.05 unit tests
lanierd-adsk f5cd8ce
HYDRA-2274 : fixes for usd lights
lanierd-adsk e89145e
Fix linux and windows errors with the scene browser test
lanierd-adsk 6f41353
Fix test browser issue
lanierd-adsk 0acd50f
Adress copilot issues
lanierd-adsk 9f7be6c
Attempt in fixing scene browser test
lanierd-adsk f135141
Augment tolerance for OSX for a unit test
lanierd-adsk b354067
Address copilot found issues
lanierd-adsk 35e4b95
Fix the problem introduced in last change.
lanierd-adsk 40c8a74
Address copilot issues and fix unit test for scene browser
lanierd-adsk 0415bed
Improve scene browser test diagnostics for FullSceneIndexComparison f…
lanierd-adsk 1cefb0e
Attempt in fixing scene browser test and clang linkage
lanierd-adsk c22ab7e
Attempt in fixing maya 2028 Windows coverage link error
lanierd-adsk 7fbbce8
Fix OSX Clang issues and potentially clang issue in Windows coverage …
lanierd-adsk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1798,6 +1798,7 @@ void MtohRenderOverride::_CreateSceneIndicesChainAfterMergingSceneIndex(const MH | |
| const bool pruneTextures = !(drawContext.getDisplayStyle() & MHWRender::MFrameContext::kTextured); | ||
| _lastFilteringSceneIndexBeforeCustomFiltering = _pruneTexturesSceneIndex = | ||
| Fvp::PruneTexturesSceneIndex::New(_lastFilteringSceneIndexBeforeCustomFiltering, pruneTextures); | ||
| _currentlyTextured = !pruneTextures; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice, I had this fix locally for materialX testing. Thanks for pushing this |
||
|
|
||
| // Add default material scene index | ||
| _lastFilteringSceneIndexBeforeCustomFiltering = _defaultMaterialSceneIndex = Fvp::DefaultMaterialSceneIndex::New(_lastFilteringSceneIndexBeforeCustomFiltering, | ||
|
|
||
File renamed without changes
14 changes: 14 additions & 0 deletions
14
test/lib/mayaUsd/render/mayaToHydra/ArnoldLightsTest/usd26.05+/BASELINES.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # USD 26.05+ Baselines — ArnoldLightsTest | ||
|
|
||
| | Image | Source | | ||
| |-------|--------| | ||
| | `allLights.png` | **New in USD 26.05** — updated baseline from failing preflight | | ||
|
|
||
| ## Why unchanged images are copied here instead of relying on usd25.11/ | ||
|
|
||
| The test framework's `resolveRefImage` builds the baseline path as | ||
| `<inputDir>/<imageVersion>/<imageName>` with no fallback to the parent folder. | ||
| If `imageVersion` is set to `"usd26.05+"` and a file is missing from this folder, | ||
| the test will fail with a missing file error rather than falling back to `usd25.11/`. | ||
| Therefore all images that this test compares with `imageVersion` must be present here, | ||
| even those whose pixel content is identical to the `usd25.11/` version. |
Binary file added
BIN
+46.6 KB
test/lib/mayaUsd/render/mayaToHydra/ArnoldLightsTest/usd26.05+/allLights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions
16
test/lib/mayaUsd/render/mayaToHydra/TexturedModeTest/usd26.05+/BASELINES.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # USD 26.05+ Baselines — TexturedModeTest | ||
|
|
||
| | Image | Source | | ||
| |-------|--------| | ||
| | `untextured.png` | **New in USD 26.05** — updated baseline from failing preflight | | ||
| | `textured.png` | Copied from `TexturedModeTest/` root — no visual change in USD 26.05 | | ||
|
|
||
| ## Why unchanged images are copied here instead of relying on the root folder | ||
|
|
||
| The test framework's `resolveRefImage` builds the baseline path as | ||
| `<inputDir>/<imageVersion>/<imageName>` with no fallback to the parent folder. | ||
| If `imageVersion` is set to `"usd26.05+"` and a file is missing from this folder, | ||
| the test will fail with a missing file error rather than falling back to the root | ||
| `TexturedModeTest/` directory. | ||
| Therefore all images that this test compares with `imageVersion` must be present here, | ||
| even those whose pixel content is identical to the root version. |
Binary file added
BIN
+29.2 KB
test/lib/mayaUsd/render/mayaToHydra/TexturedModeTest/usd26.05+/textured.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.26 KB
test/lib/mayaUsd/render/mayaToHydra/TexturedModeTest/usd26.05+/untextured.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
16 changes: 16 additions & 0 deletions
16
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/BASELINES.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # USD 26.05+ Baselines — USDLightsTest | ||
|
|
||
| | Image | Source | | ||
| |-------|--------| | ||
| | `allLights.png` | **New in USD 26.05** — updated baseline from failing preflight | | ||
| | `domeLight.png` | Copied from `usd25.11/` — no visual change in USD 26.05 | | ||
| | `flatLight.png` | Copied from `usd25.11/` — no visual change in USD 26.05 | | ||
|
|
||
| ## Why unchanged images are copied here instead of relying on usd25.11/ | ||
|
|
||
| The test framework's `resolveRefImage` builds the baseline path as | ||
| `<inputDir>/<imageVersion>/<imageName>` with no fallback to the parent folder. | ||
| If `imageVersion` is set to `"usd26.05+"` and a file is missing from this folder, | ||
| the test will fail with a missing file error rather than falling back to `usd25.11/`. | ||
| Therefore all images that this test compares with `imageVersion` must be present here, | ||
| even those whose pixel content is identical to the `usd25.11/` version. |
Binary file added
BIN
+48.7 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/allLights.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+38.7 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/defaultLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+39.3 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/diskLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.4 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/distantLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+43.2 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/domeLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48.7 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/flatLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+36.4 KB
test/lib/mayaUsd/render/mayaToHydra/USDLightsTest/usd26.05+/noLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.