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.Reflect
santorac 48f3bb7d7a Fixed missing initialization of ShaderCollection::Item::m_renderStatesOverlay.
This RenderStates is used to override the values in the final draw packet, if the values are valid; it's supposed to be initialized to invalid values, but it wasn't. So the depth compare function was getting set to Less instead of GreaterEqual. This wasn't a problem when using serialized assets from disk, because the deserialization uses the default constructor which did initialize m_renderStatesOverlay. No all Item constructors initialize m_renderStatesOverlay.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
..
Asset Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Buffer Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Image Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Material Fixed missing initialization of ShaderCollection::Item::m_renderStatesOverlay. 4 years ago
Model Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
Pass Throwing up Depth of Field WIP so Galib can investigate AP crash with shader processing 4 years ago
Shader Shaders changes require two or more change cycles before updating (#5142) 4 years ago
System Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Base.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FeatureProcessorDescriptor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
GpuQuerySystemDescriptor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
RPISystemDescriptor.cpp ATOM-16237 Using setting registry to RPI system settings (#3663) 4 years ago
ResourcePoolAsset.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ResourcePoolAssetCreator.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago