Got PassBuilder shader dependency working and removed critical flag from shader builder

Signed-off-by: antonmic <56370189+antonmic@users.noreply.github.com>
This commit is contained in:
antonmic
2021-08-10 23:07:23 -07:00
parent 4beb66c9ca
commit adf7a34ef5
20 changed files with 103 additions and 98 deletions
@@ -42,7 +42,7 @@ namespace AZ
// load shader
// Note: the shader may not be available on all platforms
AZStd::string shaderFilePath = "Shaders/DiffuseGlobalIllumination/DiffuseProbeGridRelocation.azshader";
m_shader = RPI::LoadShader(shaderFilePath);
m_shader = RPI::LoadCriticalShader(shaderFilePath);
if (m_shader == nullptr)
{
return;