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
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
..
External/MaskedOcclusionCulling Added Masked Occlusion Culling external files 5 years ago
Include/Atom Added new shader reinitialization signaling. 5 years ago
Source Added new shader reinitialization signaling. 5 years ago
Tests Fixed unit test compile issue 5 years ago
Tests.Builders Fix several build failures 5 years ago
Tests.Editor Initial commit 5 years ago
CMakeLists.txt ensure brute force ray intersection works (#1170) 5 years ago
atom_rpi_builders_files.cmake Integrating latest 47acbe8 5 years ago
atom_rpi_builders_shared_files.cmake Initial commit 5 years ago
atom_rpi_builders_stub_files.cmake Initial commit 5 years ago
atom_rpi_builders_tests_files.cmake Initial commit 5 years ago
atom_rpi_edit_files.cmake [ATOM-15276] Shader Build Pipeline: Add Shader Supervariant System (#749) 5 years ago
atom_rpi_editor_files.cmake Initial commit 5 years ago
atom_rpi_editor_tests_files.cmake Initial commit 5 years ago
atom_rpi_masked_occlusion_files.cmake Added AZ_TRAIT_MASKED_OCCLUSION_CULLING_SUPPORTED 5 years ago
atom_rpi_private_files.cmake Initial commit 5 years ago
atom_rpi_private_shared_files.cmake Initial commit 5 years ago
atom_rpi_public_files.cmake Fixed race conditions that could prevent successful hot-reload of shaders. 5 years ago
atom_rpi_reflect_files.cmake Merge branch 'main' into Atom/santorac/NewLayeringWorkflow 5 years ago
atom_rpi_tests_files.cmake Initial commit 5 years ago
rpi_shared_files.cmake Initial commit 5 years ago