Added comment.

This commit is contained in:
Doug McDiarmid
2021-06-21 20:20:31 -07:00
parent e769219bac
commit cd173905a8
@@ -313,6 +313,7 @@ namespace AZ
SupervariantIndex supervariantIndex = DefaultSupervariantIndex;
// check for an RPI ShaderSystem specified supervariant
// Note: we can just search for the system supervariant name, since the default supervariant is "", so no need to append
RPI::ShaderSystemInterface* shaderSystemInterface = ShaderSystemInterface::Get();
if (shaderSystemInterface && !shaderSystemInterface->GetSupervariantName().IsEmpty())
{
@@ -354,6 +355,7 @@ namespace AZ
SupervariantIndex supervariantIndex = DefaultSupervariantIndex;
// check for an RPI ShaderSystem specified supervariant
// Note: we can just search for the system supervariant name, since the default supervariant is "", so no need to append
RPI::ShaderSystemInterface* shaderSystemInterface = ShaderSystemInterface::Get();
if (shaderSystemInterface && !shaderSystemInterface->GetSupervariantName().IsEmpty())
{