Repository navigation
NintendoSDK/g3d: Implement ResMaterial and ResShaderParam - #1385
Closed
arayaphong wants to merge 1 commit into
Closed
arayaphong wants to merge 1 commit into
arayaphong wants to merge 1 commit into
Conversation
Updates lib/NintendoSDK to `3aa2f46` and marks 23 of 24 functions in ResMaterial.o as matching.
arayaphong
force-pushed
the
implement/g3d-res-material
branch
from
September 25, 2026 11:28
a7a4f4b to
825ddf6
Compare
Owner
|
Changes in submodules do not need a PR against this repo. Once the change has been accepted by the respective repo, a renovate PR will be automatically created to update the dependency in this repo. I will manually update the TLDR: For PRs in submodules, please do not create PRs on this repo - the updated dependencies will trickle down into this repo eventually through the intended path of renovate. |
Contributor
Author
|
Closing as requested - submodule changes go through the submodule repo and trickle down via renovate. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Implements
NintendoSDK/src/NintendoWare/g3d/ResMaterial.o.Closes MonsterDruide1/OdysseyDecompTracker#3736
lib/NintendoSDKsubmodule: g3d: ImplementResMaterialandResShaderParamopen-ead/nnheaders#88. This PR updates the submodule to3aa2f46and updatesdata/file_list.yml.ResShaderParam::ConvertSrt3dCallbackstaysNonMatchingMajor(SIMD scheduling and register allocation; same size, 656 bytes): https://decomp.me/scratch/lkHXpDraft until open-ead/nnheaders#88 is merged, since CI needs
3aa2f46to exist upstream. I'll update the submodule pointer to the merged commit then.This change is
Report for 1.0 (eaa97f5 - 825ddf6)
📈 Matched code: 15.79% (+0.04%, +4780 bytes)
✅ 23 new matches
NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtMayaExCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtMaxExCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtXsiExCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::ConvertSrt2dExCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::Setup(nn::gfx::TDevice<nn::gfx::ApiVariation<nn::gfx::ApiType<4>, nn::gfx::ApiVersion<8> > >*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtMayaCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtMaxCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::(anonymous namespace)::ConvertTexSrtXsiCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::BindTexture(nn::g3d::TextureRef (*)(char const*, void*), void*)NintendoSDK/src/NintendoWare/g3d/ResMaterialvoid nn::g3d::ResShaderParam::Convert<true>(void*, void const*) constNintendoSDK/src/NintendoWare/g3d/ResMaterialvoid nn::g3d::ResShaderParam::Convert<false>(void*, void const*) constNintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::ConvertSrt2dCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::ForceBindTexture(nn::g3d::TextureRef const&, char const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::SetDependPointer(void*, void const*) constNintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::GetDependPointer(void**, void const*) constNintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::ReleaseTexture()NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::Cleanup(nn::gfx::TDevice<nn::gfx::ApiVariation<nn::gfx::ApiType<4>, nn::gfx::ApiVersion<8> > >*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::Reset(unsigned int)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResMaterial::Reset()NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::GetSrcSize(nn::g3d::ResShaderParam::Type)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::GetSize(nn::g3d::ResShaderParam::Type)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::ConvertTexSrtCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::ConvertTexSrtExCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)📈 1 improvement in an unmatched item
NintendoSDK/src/NintendoWare/g3d/ResMaterialnn::g3d::ResShaderParam::ConvertSrt3dCallback(void*, void const*, nn::g3d::ResShaderParam const*, void const*)