vulkan: move shader compilation into Shader

This commit is contained in:
niki
2022-07-18 22:28:41 +02:00
parent a544d51c22
commit 00974b5820
8 changed files with 270 additions and 274 deletions
+1 -1
View File
@@ -1077,7 +1077,7 @@ namespace love {
std::vector<std::string> stages;
stages.push_back(Shader::getDefaultCode(stype, SHADERSTAGE_VERTEX));
stages.push_back(Shader::getDefaultCode(stype, SHADERSTAGE_PIXEL));
Shader::standardShaders[i] = newShader(stages, { { {"vulkan", "1"} } });
Shader::standardShaders[i] = newShader(stages, {});
}
}
}