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
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
..
3rdParty/ACES [ATOM-15631] First pass on exposing Display Mapper properties to Behavior Context 5 years ago
Include/Atom/Feature Removed the DiffuseGlobalIllumination component from the editor Entity Component list, it was intended to be a Level Component only. 5 years ago
Mocks Merging WrinkleMask support from 1.0 to main (#680) 5 years ago
Platform/Common Add newlines to the end of all files 5 years ago
Source Added new shader reinitialization signaling. 5 years ago
Tests Integrating github/staging through commit 5f214be 5 years ago
CMakeLists.txt Adding tone mapping option to Material Editor 5 years ago
atom_feature_common_builders_files.cmake Initial commit 5 years ago
atom_feature_common_editor_files.cmake ATOM-13216 Delete Deprecated Functors 5 years ago
atom_feature_common_files.cmake Created a new ReflectionScreenSpaceCompositePass to set the maximum roughness mip in the pass Srg. 5 years ago
atom_feature_common_public_files.cmake Merge pull request #1110 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-15517 5 years ago
atom_feature_common_shared_files.cmake Initial commit 5 years ago
atom_feature_common_staticlibrary_files.cmake LYN-3871/3872 Added JSON serializer for MaterialAssignment property overrides 5 years ago
atom_feature_common_tests_files.cmake Integrating github/staging through commit 5f214be 5 years ago