Browse Source

vulkan: remove shader version code

niki 2 years ago
parent
commit
fe8cbfecbf
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/modules/graphics/Graphics.cpp

+ 0 - 3
src/modules/graphics/Graphics.cpp

@@ -368,9 +368,6 @@ Shader *Graphics::newShader(const std::vector<std::string> &stagessource, const
 	for (const std::string &source : stagessource)
 	for (const std::string &source : stagessource)
 	{
 	{
 		Shader::SourceInfo info = Shader::getSourceInfo(source);
 		Shader::SourceInfo info = Shader::getSourceInfo(source);
-		if (capabilities.features[FEATURE_GLSL4]) {
-			info.language = Shader::LANGUAGE_GLSL4;
-		}
 		bool isanystage = false;
 		bool isanystage = false;
 
 
 		for (int i = 0; i < SHADERSTAGE_MAX_ENUM; i++)
 		for (int i = 0; i < SHADERSTAGE_MAX_ENUM; i++)