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
Qing Tao d9cbc97ec0
ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969)
ATOM-16273 Compiling SceneSRG before updating it can cause a gpu crash

Changes include:
1. Removed Scene::SetShaderResourceGroupCallback() function and clean up code which use this function.
2. Moved SceneTimeSrg.azsli to RPI's DefaultSceneSrg folder and setup the constants in RPI::Scene
3. Add AZ::Event for Scene's update srg event which features and update scene srg at proper place
4. UpdateTransformServcie FP to use PrepareSceneSrg event handler.
5. Clean up shaders and srgs used in project templates.

Signed-off-by: Qing Tao <qingtao@amazon.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 Gems/Atom 4 years ago
GpuQuery Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Image Fix unused warnings release (#3677) 4 years ago
Material Add preliminary budget tracking system and remove driller integration 4 years ago
Model Remove extra/bad profile markers (#4031) 4 years ago
Pass ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969) 4 years ago
Shader Remove extra/bad profile markers (#4031) 4 years ago
AuxGeomFeatureProcessorInterface.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Culling.cpp Merge branch 'development' into cmake/linux_fix_warn_unused 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-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969) 4 years ago
RPIUtils.cpp Got PassBuilder shader dependency working and removed critical flag from shader builder 4 years ago
RenderPipeline.cpp Add AZ_BUDGET_DEFINE/AZ_BUDGET_DECLARE and remove driller 4 years ago
Scene.cpp ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969) 4 years ago
View.cpp Merge branch 'development' into cmake/linux_fix_warn_unused 4 years ago
ViewportContext.cpp Shorten copyright headers by splitting into 2 lines (#2213) 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