Files
o3de/Gems/Atom/Feature/Common/Code/Source
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>
2021-11-02 16:21:26 -05:00
..
2021-08-18 16:59:34 -05:00
2021-09-10 20:16:11 -07:00
2021-07-30 18:53:50 -07:00
2021-10-05 09:59:13 -07:00
2021-08-23 13:01:33 -07:00
2021-10-15 13:35:28 -07:00
2021-09-10 20:16:11 -07:00
2021-10-21 22:37:12 -07:00