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
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
..
Buffer Fixes asserts related to buffer allocation using null rhi (#3367) 4 years ago
ColorManagement Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
DynamicDraw ATOM-16249 Adding draw srg caching to DynamicDrawContext since creating SRG can be expensive for some backend (#4491) 4 years ago
GpuQuery [development] Atom CPU profiler include cleanup (#4272) 4 years ago
Image [development] Atom CPU profiler include cleanup (#4272) 4 years ago
Material Shaders changes require two or more change cycles before updating (#5142) 4 years ago
Model Model Hot-Reloading (#4304) 4 years ago
Pass Shaders changes require two or more change cycles before updating (#5142) 4 years ago
Shader Shaders changes require two or more change cycles before updating (#5142) 4 years ago
AuxGeomFeatureProcessorInterface.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Culling.cpp [development] Atom CPU profiler include cleanup (#4272) 4 years ago
FeatureProcessor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FeatureProcessorFactory.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MeshDrawPacket.cpp Remove extra/bad profile markers (#4031) 4 years ago
PipelineState.cpp Reenable support for UI Elements that use Render Targets (#2352) 4 years ago
RPISystem.cpp Atom Timer fix - changed milliseconds to seconds (#4631) 4 years ago
RPIUtils.cpp Create helper function for getting threads per (#4480) 4 years ago
RenderPipeline.cpp Atom Timer fix - changed milliseconds to seconds (#4631) 4 years ago
Scene.cpp convert atom to task graph (#4230) 4 years ago
View.cpp Revert "Refresh rate driven rendering tick logic (#3375)" 4 years ago
ViewportContext.cpp Revert "Refresh rate driven rendering tick logic (#3375)" 4 years ago
ViewportContextManager.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
WindowContext.cpp Support for refresh rate and sync interval (#2989) 4 years ago