Remove old post-process shader pipeline (#1631)

This commit is contained in:
Ben Doherty
2019-09-13 09:29:28 -07:00
committed by GitHub
parent 996bd58fcb
commit d849231caf
34 changed files with 36 additions and 781 deletions

View File

@@ -239,8 +239,7 @@ public:
}
ShaderExtractor extractor(Backend::OPENGL, result->package, result->packageSize);
if (!extractor.parse() ||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
if (!extractor.parse()) {
return error(__LINE__);
}
@@ -255,8 +254,7 @@ public:
if (vkindex[0]) {
ShaderExtractor extractor(Backend::VULKAN, result->package, result->packageSize);
if (!extractor.parse() ||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
if (!extractor.parse()) {
return error(__LINE__);
}
@@ -297,8 +295,7 @@ public:
if (metalindex[0]) {
ShaderExtractor extractor(Backend::METAL, result->package, result->packageSize);
if (!extractor.parse() ||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
if (!extractor.parse()) {
return error(__LINE__);
}