You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/Feature/Common/Code/Source/SkinnedMesh
Chris Santora c158ca178f Added new shader reinitialization signaling.
This was done while working on "ATOM-15728 Shader Hot Reload Fails in Debug Build", but it turned out these changes did not actually fix the issue (or any other known hot-reload issue). Still, these improvements are appropriate as they correct logical oversights.

ShaderVariant was not listening to asset reloads. It needs to know when the ShaderVariantAsset reload happens so it can reinitialize it's members as well as propagate reinitialization messages. I added a member for the ShaderAsset as the class needs this to reinitialize itself. So now the class listens for reloads of both the ShaderVariantAsset and the ShaderAsset.

Shader was not listening for ShaderAsset reinitialization events.

Updated the API for ShaderReloadNotificationBus's OnShaderVariantReinitialized to include the ShaderVariant which is the most relevant information (the other information wasn't really being used anyway).
5 years ago
..
SkinnedMeshComputePass.cpp Added new shader reinitialization signaling. 5 years ago
SkinnedMeshComputePass.h Added new shader reinitialization signaling. 5 years ago
SkinnedMeshDispatchItem.cpp Fix for ATOM-15488 : Rendering out an animation with shadows crashes the editor (#794) 5 years ago
SkinnedMeshDispatchItem.h Fix for ATOM-15488 : Rendering out an animation with shadows crashes the editor (#794) 5 years ago
SkinnedMeshFeatureProcessor.cpp Merging WrinkleMask support from 1.0 to main (#680) 5 years ago
SkinnedMeshFeatureProcessor.h Merging WrinkleMask support from 1.0 to main (#680) 5 years ago
SkinnedMeshInputBuffers.cpp [EMFX][ATOM] crash during mesh reload (#1301) 5 years ago
SkinnedMeshInstance.cpp Initial commit 5 years ago
SkinnedMeshOutputStreamManager.cpp Fix metal shader pipeline crashes for LuminanceHistogramGenerator and MorphTargetCS due to the use of atomic operations with typed buffers. Switching them to use Structured buffers. Plus misc cleanup 5 years ago
SkinnedMeshOutputStreamManager.h Initial commit 5 years ago
SkinnedMeshRenderProxy.cpp Fix for ATOM-15488 : Rendering out an animation with shadows crashes the editor (#794) 5 years ago
SkinnedMeshRenderProxy.h Initial commit 5 years ago
SkinnedMeshShaderOptionsCache.cpp Integrating github/staging through commit 5f214be 5 years ago
SkinnedMeshShaderOptionsCache.h Integrating github/staging through commit 5f214be 5 years ago
SkinnedMeshStatsCollector.cpp Initial commit 5 years ago
SkinnedMeshStatsCollector.h Initial commit 5 years ago
SkinnedMeshSystemComponent.cpp Initial commit 5 years ago
SkinnedMeshSystemComponent.h Initial commit 5 years ago
SkinnedMeshVertexStreamProperties.cpp Integrating github/staging through commit 5f214be 5 years ago
SkinnedMeshVertexStreamProperties.h Initial commit 5 years ago