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
galibzon 6763e2a3ac
Shaders changes require two or more change cycles before updating (#5142)
* Shaders changes require two or more change cycles before updating

This fixes the problem described in the title.

Consolidated the responsibility to update the root shader variant
asset into the Shader() class. It was unnecessarily spread across
Shader(), ShaderVariant() and ShaderAsset().
In particular OnAssetReloaded now makes a temporary copy of the root
ShaderVariantAsset and updates the ShaderAsset with such reference
only when OnAssetReloaded() is called on behalf of the ShaderAsset.

Signed-off-by: galibzon <66021303+galibzon@users.noreply.github.com>
4 years ago
..
External/MaskedOcclusionCulling Added Masked Occlusion Culling external files 5 years ago
Include/Atom Shaders changes require two or more change cycles before updating (#5142) 4 years ago
Source Shaders changes require two or more change cycles before updating (#5142) 4 years ago
Tests Merge branch 'stabilization/2110' into Atom/santorac/MoveDoubleSided 4 years ago
Tests.Builders Add preliminary budget tracking system and remove driller integration 4 years ago
Tests.Editor Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CMakeLists.txt Undo artifacts for JsonUtils sojourn into AzToolsFramework 4 years ago
atom_rpi_builders_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_builders_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_builders_stub_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_builders_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_edit_files.cmake Added backward-compatible support for the old "id" key in material type files, which is being renamed to "name". 4 years ago
atom_rpi_editor_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_editor_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_masked_occlusion_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_private_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_private_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_public_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
atom_rpi_reflect_files.cmake Enable material version updates. 4 years ago
atom_rpi_tests_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
rpi_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago