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/RPI/Code/Source/RPI.Public
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
..
Buffer ATOM-15658 Better option of CreateCommonBuffer requires unique buffer name (#1133) 5 years ago
ColorManagement Initial commit 5 years ago
DynamicDraw Reenable LyShine mask support now using Atom (#1218) 5 years ago
GpuQuery LYN-4007 Editor crashes when entering the Game Mode with two Box Shape entities with Game View enabled (#974) 5 years ago
Image Integrate from 1.0 to main: LYN-3436 AutomatedTesting.GameLauncher crashes at launch if assets are not all processed (#612) 5 years ago
Material Added new shader reinitialization signaling. 5 years ago
Model ensure brute force ray intersection works (#1170) 5 years ago
Pass Added new shader reinitialization signaling. 5 years ago
Shader Added new shader reinitialization signaling. 5 years ago
AuxGeomFeatureProcessorInterface.cpp Initial commit 5 years ago
Culling.cpp Changed the occlusion culling plane model to be on the XZ plane and adjusted the corner point computations 5 years ago
FeatureProcessor.cpp Initial commit 5 years ago
FeatureProcessorFactory.cpp Initial commit 5 years ago
MeshDrawPacket.cpp Addressed review comments. 5 years ago
PipelineState.cpp Added new shader reinitialization signaling. 5 years ago
RPISystem.cpp Fixed race conditions that could prevent successful hot-reload of shaders. 5 years ago
RPIUtils.cpp Initial commit 5 years ago
RenderPipeline.cpp Pass changes: fixed reflection probe bake 5 years ago
Scene.cpp Pass changes: fixed reflection probe bake 5 years ago
View.cpp Temporal anti-aliasing and constrast adaptive sharpening (#1161) 5 years ago
ViewportContext.cpp Restore Editor viewport icon rendering (#879) 5 years ago
ViewportContextManager.cpp Fix ImGui rendering in-Editor 5 years ago
WindowContext.cpp Initial commit 5 years ago