rename ShaderType to ShaderStage

This commit is contained in:
Mathias Agopian
2022-09-12 15:54:07 -07:00
committed by Mathias Agopian
parent 441708ea12
commit 3496f3a8ba
35 changed files with 287 additions and 287 deletions
+3 -3
View File
@@ -232,10 +232,10 @@ bool GLSLPostProcessor::process(const std::string& inputShader, Config const& co
};
switch (config.shaderType) {
case ShaderType::VERTEX:
case ShaderStage::VERTEX:
internalConfig.shLang = EShLangVertex;
break;
case ShaderType::FRAGMENT:
case ShaderStage::FRAGMENT:
internalConfig.shLang = EShLangFragment;
break;
}
@@ -269,7 +269,7 @@ bool GLSLPostProcessor::process(const std::string& inputShader, Config const& co
}
// add texture lod bias
if (config.shaderType == backend::ShaderType::FRAGMENT &&
if (config.shaderType == backend::ShaderStage::FRAGMENT &&
config.domain == MaterialDomain::SURFACE) {
GLSLTools::textureLodBias(tShader);
}